User Methods |
The User type exposes the following members.
| Name | Description | |
|---|---|---|
| AddProxyAddress |
Adds a proxy e-mail address to the account's proxyAddresses field.
(Inherited from SecurityPrincipal.) | |
| AddToGroup |
Adds this principal to the supplied group.
(Inherited from SecurityPrincipal.) | |
| CompareTo(ActiveDirectoryObject) |
Compares this ActiveDirectoryObject to another ActiveDirectoryObject.
(Inherited from ActiveDirectoryObject.) | |
| CompareTo(SecurityPrincipal) |
Compares this SecurityPrincipal to another SecurityPrincipal.
(Inherited from SecurityPrincipal.) | |
| CompareTo(User) |
Compares this User to another User.
| |
| Create |
Creates a new user within Active Directory given it's proposed name, the distinguished name of the OU to place it in, and other optional attributes.
| |
| DeleteAttribute |
Deletes values from an attribute.
(Inherited from ActiveDirectoryObject.) | |
| Disable |
Disables the user's account for authentication if it is enabled.
| |
| Enable |
Enables the user's account for authentication if it is disabled.
| |
| Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Equals(ActiveDirectoryObject, ActiveDirectoryObject) |
Checks whether x and y are equal (using GUIDs).
(Inherited from ActiveDirectoryObject.) | |
| Equals(SecurityPrincipal, SecurityPrincipal) |
Checks whether x and y are equal (using GUIDs).
(Inherited from SecurityPrincipal.) | |
| Equals(User, User) |
Checks whether x and y are equal (using GUIDs).
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetAllUsers |
Gets all users in the Active Directory.
| |
| GetByteAttributeValue |
Gets the first byte array value from the supplied attribute of the object.
(Inherited from ActiveDirectoryObject.) | |
| GetByteAttributeValues |
Gets all byte array values from the supplied attribute of the object.
(Inherited from ActiveDirectoryObject.) | |
| GetEntryFromAD(Guid) |
Gets new data for the object from AD and places the values in the entry variable within the object.
(Inherited from ActiveDirectoryObject.) | |
| GetEntryFromAD(Guid, ListString) |
Gets new data for the object from AD and places the values in the entry variable within the object.
(Inherited from ActiveDirectoryObject.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetHashCode(ActiveDirectoryObject) |
Generates a hash code for the ActiveDirectoryObject supplied.
(Inherited from ActiveDirectoryObject.) | |
| GetHashCode(SecurityPrincipal) |
Generates a hash code for the SecurityPrincipal supplied.
(Inherited from SecurityPrincipal.) | |
| GetHashCode(User) |
Generates a hash code for the User supplied.
| |
| GetIntervalAttributeValue |
Gets the UTC DateTime from a Interval attribute.
(Inherited from ActiveDirectoryObject.) | |
| GetModifiedUsers |
Gets of all user accounts that were modified within the specified time frame.
| |
| GetStringAttributeValue |
Gets the first string value from the supplied attribute of the object.
(Inherited from ActiveDirectoryObject.) | |
| GetStringAttributeValues |
Gets all string values from the supplied attribute of the object.
(Inherited from ActiveDirectoryObject.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberOfGroup |
Checks if this principal is a member of the supplied group.
(Inherited from SecurityPrincipal.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MoveRename |
Moves and / or renames this object.
(Inherited from SecurityPrincipal.) | |
| Refresh |
Refreshes the object to retrieve any changes made to attributes since creation.
(Inherited from ActiveDirectoryObject.) | |
| RemoveFromGroup |
Removes this principal from the supplied group.
(Inherited from SecurityPrincipal.) | |
| RemoveProxyAddress |
Removes a proxy e-mail address from the account's proxyAddresses field.
(Inherited from SecurityPrincipal.) | |
| RemoveUserAccountControlFlag |
Removes a flag from the user's User Account Control attribute.
| |
| SetAttribute |
Sets attribute of an object. If a null or empty values object is supplied no modifications will be made.
(Inherited from ActiveDirectoryObject.) | |
| SetPassword |
Sets the password of the user.
| |
| SetPrimaryProxyAddress |
Sets the supplied e-mail address to be the primary e-mail address for receiving mail.
Note: This e-mail address must already be associated with the account.
If there is account currently has a primary e-mail address, it will be set as a secondary.
(Inherited from SecurityPrincipal.) | |
| SetStringAttribute |
Sets a single value string attribute of an object. If a null or empty value is supplied,
the attribute will be cleared / deleted.
(Inherited from ActiveDirectoryObject.) | |
| SetUserAccountControlFlag |
Sets a flag in the user's User Account Control attribute.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Unlock |
Unlocks the user's account if it is locked.
|