...
 
Commits (3)
...@@ -31,7 +31,7 @@ public UserInfo WieBenIk() ...@@ -31,7 +31,7 @@ public UserInfo WieBenIk()
var principal = System.Web.HttpContext.Current.User as CasPrincipal; var principal = System.Web.HttpContext.Current.User as CasPrincipal;
return new UserInfo() return new UserInfo()
{ {
AdNr = int.Parse(principal.Assertion.Attributes["field_cas_ad_nummer"].First()), AdNr = int.Parse(principal.Assertion.Attributes["cas:field_cas_ad_nummer"].First()),
// Normally no developer mode. // Normally no developer mode.
DeveloperMode = false DeveloperMode = false
}; };
......
...@@ -32,7 +32,7 @@ public UserInfo WieBenIk() ...@@ -32,7 +32,7 @@ public UserInfo WieBenIk()
var principal = System.Web.HttpContext.Current.User as CasPrincipal; var principal = System.Web.HttpContext.Current.User as CasPrincipal;
return new UserInfo() return new UserInfo()
{ {
AdNr = int.Parse(principal.Assertion.Attributes["field_cas_ad_nummer"].First()), AdNr = int.Parse(principal.Assertion.Attributes["cas:field_cas_ad_nummer"].First()),
// Normally no developer mode. // Normally no developer mode.
DeveloperMode = true DeveloperMode = true
}; };
......