Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | bool |
public static AuthenticateUser ( string domain, string userName, string password, string &errorMessage ) : IPrincipal | ||
domain | string | |
userName | string | |
password | string | |
errorMessage | string | |
Результат | IPrincipal |
public ChangePassword ( string oldPassword, string newPassword ) : void | ||
oldPassword | string | |
newPassword | string | |
Результат | void |
public static CreateLocalGroup ( string groupName ) : bool | ||
groupName | string | |
Результат | bool |
public static CreateLocalUser ( string userName, string password, string userDescription ) : bool | ||
userName | string | |
password | string | |
userDescription | string | |
Результат | bool |
public static GetBuiltInLocalGroups ( ) : string[] | ||
Результат | string[] |
public static GetLocalGroupUserList ( string groupName ) : string[] | ||
groupName | string | |
Результат | string[] |
public GetUserPropertyValue ( string propertyName ) : string | ||
propertyName | string | |
Результат | string |
public GetUserPropertyValueCollection ( string propertyName ) : string[] | ||
propertyName | string | |
Результат | string[] |
public static GroupNameToSID ( string groupName ) : string | ||
groupName | string | |
Результат | string |
public static ImpersonateUser ( string domain, string userName, string password ) : System.Security.Principal.WindowsImpersonationContext | ||
domain | string | |
userName | string | |
password | string | |
Результат | System.Security.Principal.WindowsImpersonationContext |
public static IsGroupSID ( string sid ) : bool | ||
sid | string | |
Результат | bool |
public static IsUserSID ( string sid ) : bool | ||
sid | string | |
Результат | bool |
public static LocalGroupExists ( string groupName ) : bool | ||
groupName | string | |
Результат | bool |
public static LocalUserExists ( string userName ) : bool | ||
userName | string | |
Результат | bool |
public static RemoveLocalGroup ( string groupName ) : bool | ||
groupName | string | |
Результат | bool |
public static RemoveLocalUser ( string userName ) : bool | ||
userName | string | |
Результат | bool |
public static RemoveUserFromLocalGroup ( string groupName, string userName ) : bool | ||
groupName | string | |
userName | string | |
Результат | bool |
public static SIDToAccountName ( string sid ) : string | ||
sid | string | |
Результат | string |
public static SetLocalUserPassword ( string userName, string password ) : void | ||
userName | string | |
password | string | |
Результат | void |
public UnixUserInfo ( |
||
parent | ||
Результат | System |
public static UserIsInLocalGroup ( string groupName, string userName ) : bool | ||
groupName | string | |
userName | string | |
Результат | bool |
public static UserNameToSID ( string userName ) : string | ||
userName | string | |
Результат | string |