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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for