Like Us
Plus One
Follow Us
 Author Tahir Naveed  Views 1560 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 1726     
2017-May-25 SharePoint Online Page Load Time with JavaScript 1335     
2016-Nov-02 Microsoft Graph vs Office Graph 1471     
2016-Oct-26 Office365 Subsite Logo Redirection 1652     
2016-Sep-14 PowerShell Script Analyzer 1556     
2016-Jun-12 SharePoint DSC 1683     
2016-Mar-10 SharePoint Online - JavaScript Injection with PowerShell 1849     
2016-Mar-03 SharePoint - Export/Import Subsite 1696     
2016-Feb-10 SharePoint - PowerApps (Mobile Apps) 1688     
2015-Dec-04 SharePoint - Responsive Design (Framework) 2020