Edit

Share via


UserId Constructors

Definition

Overloads

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.

UserId()

Initializes a new instance of the UserId class.

public:
 UserId();
public UserId ();
Public Sub New ()

Applies to

UserId(StandardUser)

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

public:
 UserId(Microsoft::Exchange::WebServices::Data::StandardUser standardUser);
public UserId (Microsoft.Exchange.WebServices.Data.StandardUser standardUser);

Parameters

standardUser
StandardUser

One of the StandardUser enumeration values that is used to initialize the new instance.

Applies to

UserId(String)

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

public:
 UserId(System::String ^ primarySmtpAddress);
public UserId (string primarySmtpAddress);
Public Sub New (primarySmtpAddress As String)

Parameters

primarySmtpAddress
String

The user's e-mail address.

Applies to