ArcGIS Pro 2.6 API Reference Guide
AuthenticationMode Property

ArcGIS.Core.Data Namespace > DatabaseConnectionProperties Class : AuthenticationMode Property
If “AUTHENTICATION_MODE” is “OSA” then “USER” and “PASSWORD” are not required. “OSA” represents operating system authentication and uses the operating system credentials to establish a connection with the database.
Syntax
public AuthenticationMode AuthenticationMode {get; set;}
Public Property AuthenticationMode As AuthenticationMode
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

DatabaseConnectionProperties Class
DatabaseConnectionProperties Members