Метод | Описание | |
---|---|---|
CreateUserInfo ( System.DirectoryServices.AccountManagement.UserPrincipal userPrincipal ) : IUserInfo |
Creates UserInfo instance for the specified UserPrincipal information object from AD.
|
|
CreateUserInfo ( string logonName ) : IUserInfo |
Creates UserInfo instance for the specified logonName, if no other information is available.
|
public static CreateUserInfo ( System.DirectoryServices.AccountManagement.UserPrincipal userPrincipal ) : IUserInfo | ||
userPrincipal | System.DirectoryServices.AccountManagement.UserPrincipal | |
Результат | IUserInfo |
public static CreateUserInfo ( string logonName ) : IUserInfo | ||
logonName | string | |
Результат | IUserInfo |