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.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to: SharePoint Foundation 2010
Gets the login name of the principal.
var value = SP.Principal.get_loginName();
Type: String
The login name of the principal.