ApplicationGetUserPrincipalName Method |
|
DataPA OpenAnalytics API Reference
Saearches LDAP for the User Principal name using the given name (e.g. searching 'paul' would return paul@datapa.local)
Namespace: DataPA.Utils.QueryEngineAssembly: DataPAQueryEngine (in DataPAQueryEngine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Object GetUserPrincipalName(
string searchUserName,
string domain,
string ldapUsername,
string ldapPassword,
string path
)
Public Shared Function GetUserPrincipalName (
searchUserName As String,
domain As String,
ldapUsername As String,
ldapPassword As String,
path As String
) As Object
public:
static Object^ GetUserPrincipalName(
String^ searchUserName,
String^ domain,
String^ ldapUsername,
String^ ldapPassword,
String^ path
)
DataPA.Utils.QueryEngine.Application.GetUserPrincipalName = function(searchUserName, domain, ldapUsername, ldapPassword, path);
Parameters
- searchUserName
- Type: SystemString
The username to search with - domain
- Type: SystemString
- ldapUsername
- Type: SystemString
The username to which to connect to LDAP - ldapPassword
- Type: SystemString
The password for [!:ldapUsername] - path
- Type: SystemString
LDAP path
Return Value
Type:
ObjectA unique user principal name, as used in the ServerSecurity.Users collection as the user name
See Also