Share via


SP.UserCollection.getByEmail(emailAddress) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Gets the user with the specified email address.

var value = SP.UserCollection.getByEmail(emailAddress);

Parameters

emailAddress

Type: String

A string that contains the email address of the user.

Return Value

Type: SP.User

Remarks

The value of the emailAddress parameter cannot be null , empty, or greater than 255 characters in length.

Applies To

SP.UserCollection Class

See Also

Reference

SP.UserCollection Methods

SP.UserCollection Properties

SP Namespace