Share via


ADUser.UserPrincipalName property

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

Syntax

'Declaration
Public Property UserPrincipalName As String
    Get
    Set
'Usage
Dim instance As ADUser
Dim value As String

value = instance.UserPrincipalName

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

Property value

Type: System.String

See also

Reference

ADUser class

ADUser members

Microsoft.Exchange.Data.Directory.Recipient namespace