Click or drag to resize
Galactic API

User Methods

The User type exposes the following members.

Methods
  NameDescription
Public methodAddProxyAddress
Adds a proxy e-mail address to the account's proxyAddresses field.
(Inherited from SecurityPrincipal.)
Public methodAddToGroup
Adds this principal to the supplied group.
(Inherited from SecurityPrincipal.)
Public methodCompareTo(ActiveDirectoryObject)
Compares this ActiveDirectoryObject to another ActiveDirectoryObject.
(Inherited from ActiveDirectoryObject.)
Public methodCompareTo(SecurityPrincipal)
Compares this SecurityPrincipal to another SecurityPrincipal.
(Inherited from SecurityPrincipal.)
Public methodCompareTo(User)
Compares this User to another User.
Public methodStatic memberCreate
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.
Public methodDeleteAttribute
Deletes values from an attribute.
(Inherited from ActiveDirectoryObject.)
Public methodDisable
Disables the user's account for authentication if it is enabled.
Public methodEnable
Enables the user's account for authentication if it is disabled.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEquals(ActiveDirectoryObject, ActiveDirectoryObject)
Checks whether x and y are equal (using GUIDs).
(Inherited from ActiveDirectoryObject.)
Public methodEquals(SecurityPrincipal, SecurityPrincipal)
Checks whether x and y are equal (using GUIDs).
(Inherited from SecurityPrincipal.)
Public methodEquals(User, User)
Checks whether x and y are equal (using GUIDs).
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetAllUsers
Gets all users in the Active Directory.
Public methodGetByteAttributeValue
Gets the first byte array value from the supplied attribute of the object.
(Inherited from ActiveDirectoryObject.)
Public methodGetByteAttributeValues
Gets all byte array values from the supplied attribute of the object.
(Inherited from ActiveDirectoryObject.)
Protected methodGetEntryFromAD(Guid)
Gets new data for the object from AD and places the values in the entry variable within the object.
(Inherited from ActiveDirectoryObject.)
Protected methodGetEntryFromAD(Guid, ListString)
Gets new data for the object from AD and places the values in the entry variable within the object.
(Inherited from ActiveDirectoryObject.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetHashCode(ActiveDirectoryObject)
Generates a hash code for the ActiveDirectoryObject supplied.
(Inherited from ActiveDirectoryObject.)
Public methodGetHashCode(SecurityPrincipal)
Generates a hash code for the SecurityPrincipal supplied.
(Inherited from SecurityPrincipal.)
Public methodGetHashCode(User)
Generates a hash code for the User supplied.
Public methodGetIntervalAttributeValue
Gets the UTC DateTime from a Interval attribute.
(Inherited from ActiveDirectoryObject.)
Public methodStatic memberGetModifiedUsers
Gets of all user accounts that were modified within the specified time frame.
Public methodGetStringAttributeValue
Gets the first string value from the supplied attribute of the object.
(Inherited from ActiveDirectoryObject.)
Public methodGetStringAttributeValues
Gets all string values from the supplied attribute of the object.
(Inherited from ActiveDirectoryObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMemberOfGroup
Checks if this principal is a member of the supplied group.
(Inherited from SecurityPrincipal.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveRename
Moves and / or renames this object.
(Inherited from SecurityPrincipal.)
Public methodRefresh
Refreshes the object to retrieve any changes made to attributes since creation.
(Inherited from ActiveDirectoryObject.)
Public methodRemoveFromGroup
Removes this principal from the supplied group.
(Inherited from SecurityPrincipal.)
Public methodRemoveProxyAddress
Removes a proxy e-mail address from the account's proxyAddresses field.
(Inherited from SecurityPrincipal.)
Public methodRemoveUserAccountControlFlag
Removes a flag from the user's User Account Control attribute.
Public methodSetAttribute
Sets attribute of an object. If a null or empty values object is supplied no modifications will be made.
(Inherited from ActiveDirectoryObject.)
Public methodSetPassword
Sets the password of the user.
Public methodSetPrimaryProxyAddress
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.)
Public methodSetStringAttribute
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.)
Public methodSetUserAccountControlFlag
Sets a flag in the user's User Account Control attribute.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnlock
Unlocks the user's account if it is locked.
Top
See Also