Share via


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.

See also

Reference

User class

User members

Microsoft.Exchange.Data.Directory.Management namespace