다음을 통해 공유


SP.User.email Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets or sets a value that specifies the e-mail address of the user.

var value = SP.User.get_email(); 
SP.User.set_email(value);

Property Value

Type: String

Applies To

SP.User Class

Exceptions

  • [Microsoft.SharePoint.SPException]
    The property is read when either the user object was not successfully initialized or the user could not be found. Error code: -1. The property is set when either the user object was not successfully initialized or the user could not be found. Error code: -1.

Remarks

It must not be null.

Its length must be equal to or less than 255.

See Also

Reference

SP.User Methods

SP.User Properties

SP Namespace