Share via


SPWebService.ActiveDirectoryOrganizationalUnit property

Gets or sets the organizational unit in which to create Active Directory accounts.

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

Syntax

'Declaration
Public Property ActiveDirectoryOrganizationalUnit As String
    Get
    Set
'Usage
Dim instance As SPWebService
Dim value As String

value = instance.ActiveDirectoryOrganizationalUnit

instance.ActiveDirectoryOrganizationalUnit = value
public string ActiveDirectoryOrganizationalUnit { get; set; }

Property value

Type: System.String
A string that contains the name of the organizational unit.

See also

Reference

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace