예제 #1
0
 public UserPrincipal(UserIdentity idenity)
     : base(idenity, new string[] { idenity.Role.ToString() })
 {
 }
예제 #2
0
 public UserPrincipal(UserIdentity idenity, string[] roles)
     : base(idenity, roles)
 {
 }