Method | Description | |
---|---|---|
AddUserToLocalGroup ( string groupName, string userName ) : bool | ||
AuthenticateUser ( string domain, string userName, string password, string &errorMessage ) : IPrincipal | ||
ChangePassword ( string oldPassword, string newPassword ) : void | ||
CreateLocalGroup ( string groupName ) : bool | ||
CreateLocalUser ( string userName, string password, string userDescription ) : bool | ||
Dispose ( ) : void | ||
GetBuiltInLocalGroups ( ) : string[] | ||
GetLocalGroupUserList ( string groupName ) : string[] | ||
GetUserPropertyValue ( string propertyName ) : string | ||
GetUserPropertyValueCollection ( string propertyName ) : string[] | ||
GroupNameToSID ( string groupName ) : string | ||
ImpersonateUser ( string domain, string userName, string password ) : System.Security.Principal.WindowsImpersonationContext | ||
Initialize ( ) : bool | ||
IsGroupSID ( string sid ) : bool | ||
IsUserSID ( string sid ) : bool | ||
LocalGroupExists ( string groupName ) : bool | ||
LocalUserExists ( string userName ) : bool | ||
RemoveLocalGroup ( string groupName ) : bool | ||
RemoveLocalUser ( string userName ) : bool | ||
RemoveUserFromLocalGroup ( string groupName, string userName ) : bool | ||
SIDToAccountName ( string sid ) : string | ||
SetLocalUserPassword ( string userName, string password ) : void | ||
UnixUserInfo ( |
||
UserIsInLocalGroup ( string groupName, string userName ) : bool | ||
UserNameToSID ( string userName ) : string |
Method | Description | |
---|---|---|
AttemptAnonymousBinding ( UnixIdentity unixIdentity ) : UnixIdentity | ||
AuthenticateUser ( string userName, string password ) : int | ||
ChangeUserPassword ( string userName, string oldPassword, string newPassword ) : int | ||
CountStrings ( |
||
DecodeAccountName ( string accountName ) : string | ||
Dispose ( bool disposing ) : void | ||
EncodeAccountName ( string accountName ) : string | ||
FreeLocalGroupMembers ( |
||
GetCachedLocalUserPasswordInformation ( string userName, UserPasswordInformation &userPasswordInfo, AccountStatus &accountStatus ) : int | ||
GetLdapHost ( ) : string | ||
GetLocalGroupID ( string groupName, uint &groupID ) : int | ||
GetLocalGroupMembers ( string groupName, |
||
GetLocalGroupName ( uint uid, StringBuilder groupName ) : int | ||
GetLocalGroupUserSet ( string groupName ) : HashSet |
||
GetLocalUserGecos ( string userName ) : |
||
GetLocalUserGroupCount ( string userName ) : int | ||
GetLocalUserGroupIDs ( string userName, int groupCount, uint &groupsIDs ) : int | ||
GetLocalUserGroups ( string userName ) : string[] | ||
GetLocalUserID ( string userName, uint &userID ) : int | ||
GetLocalUserName ( uint uid, StringBuilder userName ) : int | ||
GetLocalUserPasswordInformation ( string userName, UserPasswordInformation &userPasswordInfo, AccountStatus &accountStatus ) : int | ||
GetLocalUserPasswordInformation32 ( string userName, UserPasswordInformation32 &userPasswordInfo, AccountStatus &status ) : int | ||
GetLocalUserPasswordInformation64 ( string userName, UserPasswordInformation &userPasswordInfo, AccountStatus &status ) : int | ||
GetLocalUserPasswordInformationMac ( string userName, int &lastChangeDate, int &maxDaysForChange, int &accountExpirationDate ) : int | ||
GetPAMErrorMessage ( int responseCode ) : string | ||
GetPasswordHash ( string password, string salt ) : |
||
GetRandomSalt ( ) : string | ||
GetUnixIdentity ( ) : UnixIdentity | ||
ParseDNTokens ( string dn, string token, char delimiter = '.' ) : string | ||
PtrToString ( |
||
PtrToStringArray ( |
||
PtrToStringArray ( int count, |
||
SetLocalUserPassword ( string userName, string password, string salt ) : int | ||
TryExtractAccountID ( string sid, uint &accountID ) : bool | ||
UnixUserInfo ( ) : System | ||
ValidateAccountName ( string accountName ) : string |
public static AddUserToLocalGroup ( string groupName, string userName ) : bool | ||
groupName | string | |
userName | string | |
return | bool |
public static AuthenticateUser ( string domain, string userName, string password, string &errorMessage ) : IPrincipal | ||
domain | string | |
userName | string | |
password | string | |
errorMessage | string | |
return | IPrincipal |
public ChangePassword ( string oldPassword, string newPassword ) : void | ||
oldPassword | string | |
newPassword | string | |
return | void |
public static CreateLocalGroup ( string groupName ) : bool | ||
groupName | string | |
return | bool |
public static CreateLocalUser ( string userName, string password, string userDescription ) : bool | ||
userName | string | |
password | string | |
userDescription | string | |
return | bool |
public static GetBuiltInLocalGroups ( ) : string[] | ||
return | string[] |
public static GetLocalGroupUserList ( string groupName ) : string[] | ||
groupName | string | |
return | string[] |
public GetUserPropertyValue ( string propertyName ) : string | ||
propertyName | string | |
return | string |
public GetUserPropertyValueCollection ( string propertyName ) : string[] | ||
propertyName | string | |
return | string[] |
public static GroupNameToSID ( string groupName ) : string | ||
groupName | string | |
return | string |
public static ImpersonateUser ( string domain, string userName, string password ) : System.Security.Principal.WindowsImpersonationContext | ||
domain | string | |
userName | string | |
password | string | |
return | System.Security.Principal.WindowsImpersonationContext |
public static IsGroupSID ( string sid ) : bool | ||
sid | string | |
return | bool |
public static IsUserSID ( string sid ) : bool | ||
sid | string | |
return | bool |
public static LocalGroupExists ( string groupName ) : bool | ||
groupName | string | |
return | bool |
public static LocalUserExists ( string userName ) : bool | ||
userName | string | |
return | bool |
public static RemoveLocalGroup ( string groupName ) : bool | ||
groupName | string | |
return | bool |
public static RemoveLocalUser ( string userName ) : bool | ||
userName | string | |
return | bool |
public static RemoveUserFromLocalGroup ( string groupName, string userName ) : bool | ||
groupName | string | |
userName | string | |
return | bool |
public static SIDToAccountName ( string sid ) : string | ||
sid | string | |
return | string |
public static SetLocalUserPassword ( string userName, string password ) : void | ||
userName | string | |
password | string | |
return | void |
public UnixUserInfo ( |
||
parent | ||
return | System |
public static UserIsInLocalGroup ( string groupName, string userName ) : bool | ||
groupName | string | |
userName | string | |
return | bool |
public static UserNameToSID ( string userName ) : string | ||
userName | string | |
return | string |