Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.