次の方法で共有


SPWebService.CreateActiveDirectoryAccounts property

Gets or sets a Boolean value that specifies whether to create Active Directory accounts for new site users.

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

Syntax

'Declaration
Public Property CreateActiveDirectoryAccounts As Boolean
    Get
    Set
'Usage
Dim instance As SPWebService
Dim value As Boolean

value = instance.CreateActiveDirectoryAccounts

instance.CreateActiveDirectoryAccounts = value
public bool CreateActiveDirectoryAccounts { get; set; }

Property value

Type: System.Boolean
true to create Active Directory accounts for new site users; otherwise, false.

See also

Reference

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace