blpapi.AuthUser¶
- class blpapi.AuthUser¶
Contains user-specific authorization options.
- classmethod createWithActiveDirectoryProperty(propertyName)¶
Creates an
AuthUser
instance configured for Active Directory authorization mode (DIRECTORY_SERVICE).- Parameters
propertyName (str) – Active Directory property.
- Returns
Configured for Active Directory (DIRECTORY_SERVICE) authorization mode.
- Return type
The behavior is undefined when
propertyName
is""
orNone
.
- classmethod createWithLogonName()¶
Creates an
AuthUser
instance configured for Operating System Login (Domain/User) authorization mode (OS_LOGON).- Returns
Configured for Operating System Login (Domain/User) mode.
- Return type
- classmethod createWithManualOptions(userId, ipAddress)¶
Creates an
AuthUser
instance configured for manual authorization.- Parameters
- Returns
Configured for manual authorization.
- Return type
The behavior is undefined when either
userId
oripAddress
is""
orNone
.
- destroy()¶
Destroy the handle using stored dtor