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.