UserId Class

Definition

Represents the identifier of a user.

public ref class UserId sealed : Microsoft::Exchange::WebServices::Data::ComplexProperty
public sealed class UserId : Microsoft.Exchange.WebServices.Data.ComplexProperty
Public NotInheritable Class UserId
Inherits ComplexProperty
Inheritance

Constructors

UserId()

Initializes a new instance of the UserId class.

UserId(StandardUser)

Initializes a new instance of the UserId class for the specified standard user.

UserId(String)

Initializes a new instance of the UserId class with the user's e-mail address.

Properties

DisplayName

Gets or sets the display name of the user.

PrimarySmtpAddress

Gets or sets the primary SMTP address of the user.

SID

Gets or sets the SID of the user.

StandardUser

Gets or sets a value that indicates which standard user the user represents.

Operators

Implicit(StandardUser to UserId)

Implements an implicit conversion between a standard user and a UserId instance.

Implicit(String to UserId)

Implements an implicit conversion between a string that represents a primary SMTP address and a UserId instance.

Applies to