UserId UserId 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() UserId() UserId()

Initializes a new instance of the UserId class.

UserId(StandardUser) UserId(StandardUser) UserId(StandardUser)

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

UserId(String) UserId(String) UserId(String)

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

Properties

DisplayName DisplayName DisplayName

Gets or sets the display name of the user.

PrimarySmtpAddress PrimarySmtpAddress PrimarySmtpAddress

Gets or sets the primary SMTP address of the user.

SID SID SID

Gets or sets the SID of the user.

StandardUser StandardUser StandardUser

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

Operators

Implicit(StandardUser to UserId) Implicit(StandardUser to UserId) Implicit(StandardUser to UserId)

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

Implicit(String to UserId) Implicit(String to UserId) Implicit(String to UserId)

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

Applies to