Partilhar via


SPWeb.IsADAccountCreationMode Property

Gets a Boolean value that indicates whether user accounts are automatically created in Active Directory Domain Services (AD DS) when users are invited to the website.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public ReadOnly Property IsADAccountCreationMode As Boolean
    Get
'Usage
Dim instance As SPWeb
Dim value As Boolean

value = instance.IsADAccountCreationMode
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public bool IsADAccountCreationMode { get; }

Property Value

Type: System.Boolean
true if user accounts are automatically created in AD DS; false if only local, preexisting accounts can be used and no AD DS account is created.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace