User.UserAccountControl property
Gets a value that controls the behavior of the user account.
Namespace: Microsoft.Exchange.Data.Directory.Management
Assembly: Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)
Syntax
'Declaration
Public ReadOnly Property UserAccountControl As UserAccountControlFlags
Get
'Usage
Dim instance As User
Dim value As UserAccountControlFlags
value = instance.UserAccountControl
public UserAccountControlFlags UserAccountControl { get; }
Property value
Type: Microsoft.Exchange.Data.Directory.Recipient.UserAccountControlFlags
One of the enumeration values that controls the behavior of the user account.
Remarks
You can use an XOR operator on these controls to set two or more values.