共用方式為


SPWebService.CreateActiveDirectoryAccounts property

取得或設定 Boolean 值,指定是否要建立新的網站使用者的 Active Directory 帳戶。

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

Syntax

'宣告
Public Property CreateActiveDirectoryAccounts As Boolean
    Get
    Set
'用途
Dim instance As SPWebService
Dim value As Boolean

value = instance.CreateActiveDirectoryAccounts

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

Property value

Type: System.Boolean
若要建立新的網站使用者 ; Active Directory 帳戶true否則,請false。

請參閱

參照

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace