Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The AddUser method of the SPGroup class adds the user specified by user name, e-mail address, display name, and notes to the cross-site group.
Parameters
loginName A string that contains the user name (DOMAIN\User_Alias).
email A string that contains the e-mail address of the user.
name A string that contains the display name of the user.
notes A string that contains notes regarding the user.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security