ActiveDirectory Properties

MSBuild Extension Pack

ActiveDirectory Properties MSBuild Extension Pack Help 4.0.12.0

The ActiveDirectory type exposes the following members.

Properties

  Name Description
Public property BindingContextOptions
Specifies the options that are used for binding to the server. Default is Negotiate
Public property ContextTypeStore
Specifies the store to use. Supports Machine and Domain. Default is Domain.
Public property Description
Sets the User's or Group's description
Public property Domain
Sets the domain to operate against.
Public property ErrorOnCancel
Set to true to raise an error if the user clicks cancel on GetPassword form.
Public property Exists
Gets whether the User or Group exists
Public property FirstName
Set the User's First name
Public property FullName
Sets the User's full name
Public property GetFullMemberName
Sets whether to extract the domain name when using GetGroupMembers. Default is false.
Public property Group
Sets the Group name
Public property GroupType
Sets the GroupType. For non domains the default is Local. For Domains the default is Global. Supports Global, Local, Universal
Public property LastName
Sets the User's Last name
Public property Members
Gets the members of a group
Public property ParentGroup
Sets the Parent group
Public property Password
Sets the User's password
Public property PasswordExpired
Sets the User's password to expired. Default is false
Public property PasswordNeverExpires
Sets the User's password to never expire. Default is false
Public property Privilege
The Privilege to grant. See http://msdn.microsoft.com/en-us/library/bb545671(VS.85).aspx
Public property User
Sets the User name. Supports DirectoryPath metadata for AddUserToGroup. Use this to supply different domain users.
Public property UserDomain
The domain the user is in. If not set, defaults to Domain.
Top
See Also

Reference