Share via


SP.UserCollection Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the SP.UserCollection class.

Methods

Name

Description

add

Adds the user specified by the user creation information parameter to the collection.

addUser

Adds the specified user to the collection.

getByEmail

Gets the user with the specified email address.

getById

Gets the user with the specified member identifier (ID).

getByLoginName

Gets the user with the specified login name.

itemAt

Gets the user at the specified index of the collection.

remove

Removes the specified user from the collection.

UserCollection

This member is reserved for internal use and is not intended to be used directly from your code.

Applies To

SP.UserCollection Class

See Also

Reference

SP.UserCollection Properties

SP Namespace