다음을 통해 공유


MailProfile.AddPrincipal Method

Definition

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

Applies to