|
|
User
|
The UserInfo type exposes the following members.
| Name | Description | |
|---|---|---|
|
|
AddUserToLocalGroup | Adds an existing user to the specified local groupName. |
|
|
AuthenticateUser(String, String, String) | Authenticates the specified user credentials. |
|
|
AuthenticateUser(String, String, String, String) | Authenticates the specified user credentials. |
|
|
ChangePassword | Attempts to change the user's password. |
|
|
CreateLocalGroup | Creates a new local group if it does not exist already. |
|
|
CreateLocalUser | Creates a new local user if it does not exist already. |
|
|
DefinePrivilegedAccount | Defines the credentials of a privileged domain account that can be used for impersonation prior to the retrieval of user information from the Active Directory. |
|
|
Dispose | Releases all the resources used by the UserInfo object. |
|
|
EndImpersonation | Ends the impersonation of the specified user. |
|
|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
|
|
Finalize |
Releases the unmanaged resources before the UserInfo object is reclaimed by GC.
(Overrides ObjectFinalize) |
|
|
GetBuiltInLocalGroups | Returns a sorted list of the common built-in local groups. On Windows these groups have a domain name of BUILTIN. |
|
|
GetHashCode | Serves as the default hash function. (Inherited from Object) |
|
|
GetLocalGroupUserList | Gets a list of users that exist in the specified local groupName. |
|
|
GetType | Gets the Type of the current instance. (Inherited from Object) |
|
|
GetUserPropertyValue | Returns the value for specified active directory property. |
|
|
GroupNameToSID | Converts the given group name to the SID corresponding to that name. |
|
|
ImpersonatePrivilegedAccount | Impersonates the defined privileged domain account. |
|
|
ImpersonateUser | Impersonates the specified user. |
|
|
Initialize | Initializes the UserInfo object. |
|
|
IsGroupSID | Determines whether the given security identifier identifies a group. |
|
|
IsLocalDomain | Determines if specified domain is the local domain (i.e., local machine). |
|
|
IsUserSID | Determines whether the given security identifier identifies a user account. |
|
|
LoadSettings | Loads saved settings for the UserInfo object from the config file if the PersistSettings property is set to true. |
|
|
LocalGroupExists | Determines if local group exists. |
|
|
LocalUserExists | Determines if local user exists. |
|
|
RemoveLocalGroup | Removes local group if it exists. |
|
|
RemoveLocalUser | Removes local user if it exists. |
|
|
RemoveUserFromLocalGroup | Removes an existing user from the specified local groupName. |
|
|
SaveSettings | Saves settings for the UserInfo object to the config file if the PersistSettings property is set to true. |
|
|
SetLocalUserPassword | Sets local user's password. |
|
|
SIDToAccountName | Converts the given SID to the corresponding account name. |
|
|
ToString | Returns a string that represents the current object. (Inherited from Object) |
|
|
UserIsInLocalGroup | Determines if user is in the specified local groupName. |
|
|
UserNameToSID | Converts the given user name to the SID corresponding to that name. |
| Name | Description | |
|---|---|---|
|
|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
|
|
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |