UserId Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.