SPGroup.AddUser method

Adds the specified user to the group.

Overload list

  Name Description
Public method AddUser(SPUser) Adds the specified user to the group.
Public method AddUser(String, String, String, String) Adds the user who is specified by a particular user name, email address, display name, and notes to the group.

Top

See also

Reference

SPGroup class

SPGroup members

Microsoft.SharePoint namespace