Last active
February 4, 2018 05:19
-
-
Save rjesh-git/bdbd2af60795dce83fb87e0b7d4223e5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is how you can access the page context info | |
this.context.pageContext.legacyPageContext; | |
// Retreive current user display name | |
this.context.pageContext.legacyPageContext['userDisplayName']); | |
// Even site classification | |
this.context.pageContext.legacyPageContext['siteClassification']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment