MailProfile.AddPrincipal 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
AddPrincipal(String) |
Adds profile-principal association, assuming this profile will be the default |
AddPrincipal(String, Boolean) |
Adds profile-principal association |
AddPrincipal(String)
Adds profile-principal association, assuming this profile will be the default
public void AddPrincipal (string principalName);
member this.AddPrincipal : string -> unit
Public Sub AddPrincipal (principalName As String)
Parameters
- principalName
- String
Applies to
AddPrincipal(String, Boolean)
Adds profile-principal association
public void AddPrincipal (string principalName, bool isDefaultProfile);
member this.AddPrincipal : string * bool -> unit
Public Sub AddPrincipal (principalName As String, isDefaultProfile As Boolean)
Parameters
- principalName
- String
- isDefaultProfile
- Boolean