SP.UserCollection.add(parameters) Method
Applies to: SharePoint Foundation 2010
Adds the user specified by the user creation information parameter to the collection.
var value = SP.UserCollection.add(parameters);
Parameters
parameters
Type: SP.UserCreationInformation
A SP.UserCreationInformation Class object that contains information associated with the user. It must not be null.
Return Value
Type: SP.User