GroupMemberCollection.AddDirectoryUser Method
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
AddDirectoryUser(String) |
Adds a member that is linked to an Active Directory user that is specified by SMTP address. |
AddDirectoryUser(String, String) |
Adds a member that is linked to an Active Directory user that is specified by e-mail address and routing type. |
AddDirectoryUser(String)
Adds a member that is linked to an Active Directory user that is specified by SMTP address.
public:
void AddDirectoryUser(System::String ^ smtpAddress);
public void AddDirectoryUser (string smtpAddress);
Public Sub AddDirectoryUser (smtpAddress As String)
Parameters
- smtpAddress
- String
The SMTP address of the member.
Applies to
AddDirectoryUser(String, String)
Adds a member that is linked to an Active Directory user that is specified by e-mail address and routing type.
public:
void AddDirectoryUser(System::String ^ address, System::String ^ routingType);
public void AddDirectoryUser (string address, string routingType);
Public Sub AddDirectoryUser (address As String, routingType As String)
Parameters
- address
- String
The e-mail address of the user.
- routingType
- String
The routing type of the 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