public FederatedIPUser( FederatedIPUserType userType = FederatedIPUserType.Public, string email = null, string name = null, IEnumerable <string> roles = null, IEnumerable <string> groups = null, IEnumerable <string> sites = null) { FederatedIPIdentity = new FederatedIPIdentity(userType, email, name, roles, groups, sites); }
public FederatedIPUser(IEnumerable <Saml2Attribute> attributes) { FederatedIPIdentity = new FederatedIPIdentity( attributes.GetValue <FederatedIPUserType>("UserType"), attributes.GetValue <string>("Email"), attributes.GetValue <string>("Name"), attributes.GetValue <IEnumerable <string> >("Roles"), attributes.GetValue <IEnumerable <string> >("Groups"), attributes.GetValue <IEnumerable <string> >("Sites") ); }