User.OrganizationalUnit Property

Gets the Organization Unit (OU) of the user.

Namespace:  Microsoft.Exchange.Data.Directory.Management
Assembly:  Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)

Syntax

'Declaration
Public ReadOnly Property OrganizationalUnit As String
    Get
'Usage
Dim instance As User
Dim value As String

value = instance.OrganizationalUnit
public string OrganizationalUnit { get; }

Property Value

Type: System.String
The OU of the user.