sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Additional property on context: Full login name inc claims markup

Open weshackett opened this issue 10 years ago • 3 comments

Can we have the 'context.pageContext.user' object extended with the full login name (including the claims markup)

weshackett avatar Aug 27 '16 19:08 weshackett

This is absolutely necessary. Especially for calls to the User Profile REST API which needs the full login name of the user.

Currently there is an object which stores this: spClientSidePageContext.user.LoginName but ideally this should be in the context.pageContext.user object.

vman avatar Sep 06 '16 11:09 vman

Closing old issue. The property is available here - context.pageContext.user.loginName

patmill avatar Feb 24 '17 18:02 patmill

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 30 '20 12:01 msft-github-bot