Like Us
Plus One
Follow Us
Search
 Author Tahir Naveed  Views 952 View Original Article

And that's how you get all the claims for a user programmatically in .NET. Almost similar to my older post: public void GetClaims(){ System.Security.Principal.IPrincipal ipl = System.Web.HttpContext.Current.User; System.Security.Claims.ClaimsIdentity claimsIdentity = (System.Security.Claims.ClaimsIdentity)ipl.Identity; foreach (System.Security.Claims.Claim oClaim in claimsIdentity.Claims) { Response.Write("ClaimType [" + oClaim.Type.ToLower() + "] has value [" + oClaim.V…
View Original Article

Recent Articles from SharePoint Blue

Date Articles Visits
2017-Jun-12 Microsoft Flow - HTTP REST Call 953     
2017-May-25 SharePoint Online Page Load Time with JavaScript 646     
2016-Nov-02 Microsoft Graph vs Office Graph 714     
2016-Oct-26 Office365 Subsite Logo Redirection 773     
2016-Sep-14 PowerShell Script Analyzer 825     
2016-Jun-12 SharePoint DSC 924     
2016-Mar-10 SharePoint Online - JavaScript Injection with PowerShell 1056     
2016-Mar-03 SharePoint - Export/Import Subsite 937     
2016-Feb-10 SharePoint - PowerApps (Mobile Apps) 972     
2015-Dec-04 SharePoint - Responsive Design (Framework) 1263