How to access the claims attributes in .net applications (SharePoint or ASP.NET)

Check also Where is Microsoft.Identitymodel.Claims.dll public string text = “”; protected void Page_Load(object sender, EventArgs e) { text += “<table>” + “<tr><th>ClaimType</th><th>ValueType</th><th>Value</th></tr>”; foreach(var claim in ((Microsoft.IdentityModel.Claims.ClaimsIdentity)(System.Web.HttpContext.Current.User.Identity)).Claims) { text += “<tr><td>” + claim.ClaimType + “</td><td>” + claim.ValueType + “</td><td>” + claim.Value +… Continue Reading

Where is Microsoft.Identitymodel.Claims.dll ?

If you are trying to develop something with Claims (getting LDAP attributes in a ADFS environment) in SharePoint 2013 you will probably require to add a reference to Microsoft.IdentityModel.dll ; This should be available in Add Reference but most of… Continue Reading

Features and their GUID’s in SP2010/SP2013

+————————————-+———————————————————————–+————————————–+—————-+ | DisplayName | Title | ID | Scope | +————————————-+———————————————————————–+————————————–+—————-+ | AccSrvApplication | $Resources:AccsrvWss | 1cc4b32c-299b-41aa-9770-67715ea05f25 | Farm | +————————————-+———————————————————————–+————————————–+—————-+ | AccSrvMSysAso | Access Services System Objects | 29ea7495-fca1-4dc6-8ac1-500c247a036e | Web | +————————————-+———————————————————————–+————————————–+—————-+ | AccSrvRestrictedList | Access Services Restricted… Continue Reading

SharePoint 2013 Setup Error – The tool was unable to install Application Server Role, Web Server (IIS) Role OR Appfabric is not correctly configured

While installing SharePoint 2013 on a Windows Server 2012 I’ve encountered 2 problems reported by the prerequisite installer: – The tool was unable to install Application Server Role, Web Server (IIS) Role – Appfabric is not correctly configured The solution… Continue Reading