Share via


SPGlobalAdmin.AccountCreationModeEnabled property

NOTE: This API is now obsolete.

Use the CreateActiveDirectoryAccounts property of the SPWebService class to specify whether Active Directory Domain Services accounts are created instead. (In Windows SharePoint Services 2.0, the AccountCreationModeEnabled property indicated whether account creation mode for Active Directory Domain Services is enabled, and is maintained for backward compatibility.)

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use SPWebService.ContentService.CreateActiveDirectoryAccounts instead.",  _
    False)> _
Public ReadOnly Property AccountCreationModeEnabled As Boolean
    Get
'Usage
Dim instance As SPGlobalAdmin
Dim value As Boolean

value = instance.AccountCreationModeEnabled
[ObsoleteAttribute("Use SPWebService.ContentService.CreateActiveDirectoryAccounts instead.", 
    false)]
public bool AccountCreationModeEnabled { get; }

Property value

Type: System.Boolean
true if Active Directory account creation mode is enabled; otherwise, false.

See also

Reference

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace