IClaimsPrincipal claimsPrincipal = Page.User as IClaimsPrincipal; if (claimsPrincipal != null ) { IClaimsIdentity claimsIdentity = (IClaimsIdentity)Thread.CurrentPrincipal.Identity; if (claimsIdentity != null ) { foreach (Claim item in claimsIdentity.Claims) { } } } Sharepoint 2010 Claims check user name
|
The greatest test of courage on earth is to bear the defeat without losing heart..
Monday, July 23, 2012
C# code to get claims user name sharepoint 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment