SPGroup.AddUser Method

Definition

Overloads

AddUser(SPUser)
AddUser(String, String, String, String)

AddUser(SPUser)

public:
 void AddUser(Microsoft::SharePoint::SPUser ^ user);
public void AddUser (Microsoft.SharePoint.SPUser user);
member this.AddUser : Microsoft.SharePoint.SPUser -> unit
Public Sub AddUser (user As SPUser)

Parameters

user
SPUser

AddUser(String, String, String, String)

public:
 void AddUser(System::String ^ loginName, System::String ^ email, System::String ^ name, System::String ^ notes);
public void AddUser (string loginName, string email, string name, string notes);
member this.AddUser : string * string * string * string -> unit
Public Sub AddUser (loginName As String, email As String, name As String, notes As String)

Parameters

loginName
String
email
String
name
String
notes
String

Applies to