SP.Principal.loginName Property

Applies to: SharePoint Foundation 2010

Gets the login name of the principal.

var value = SP.Principal.get_loginName(); 

Property Value

Type: String

The login name of the principal.

Applies To

SP.Principal Class

See Also

Reference

SP.Principal Methods

SP.Principal Properties

SP Namespace