Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the user principal name (UPN) of the user.
Namespace: Microsoft.Exchange.Data.Directory.Management
Assembly: Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)
Syntax
'Declaration
Public Property UserPrincipalName As String
Get
Set
'Usage
Dim instance As User
Dim value As String
value = instance.UserPrincipalName
instance.UserPrincipalName = value
public string UserPrincipalName { get; set; }
Property value
Type: System.String
The UPN of the user.
Remarks
The UPN is the logon name for the user and consists of a user name and a suffix. Typically, the suffix is the domain name in which the user account resides.