SPWeb.IsADAccountCreationMode property
SharePoint 2013
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.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)] public bool IsADAccountCreationMode { get; }
Property value
Type: System.Booleantrue 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.