Class UserWithRoles
User information retrieved via search
Inheritance
UserWithRoles
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class UserWithRoles
Properties
Authorization state the user is currently in.
Declaration
[JsonProperty("authorizationState", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
[JsonConverter(typeof(StringEnumConverter))]
public AuthorizationState AuthorizationState { get; set; }
Property Value
Email address of the user (doubles as username).
Declaration
[JsonProperty("emailAddress", Required = Required.Always)]
[Required]
public string EmailAddress { get; set; }
Property Value
Declaration
[JsonProperty("firstName", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string FirstName { get; set; }
Property Value
Declaration
[JsonProperty("id", Required = Required.Always)]
[Required]
public string Id { get; set; }
Property Value
Anonymous user is the automatically logged in user if public access is allowed.
Declaration
[JsonProperty("isAnonymousUser", Required = Required.Always)]
public bool IsAnonymousUser { get; set; }
Property Value
Federated user is a user who is (currently) governed by an external identity provider.
Declaration
[JsonProperty("isFederated", Required = Required.Always)]
public bool IsFederated { get; set; }
Property Value
A locked user is not allowed to log in.
Declaration
[JsonProperty("isLocked", Required = Required.Always)]
public bool IsLocked { get; set; }
Property Value
Read-only users can't be removed from the system, e.g. service user.
Declaration
[JsonProperty("isReadOnly", Required = Required.Always)]
public bool IsReadOnly { get; set; }
Property Value
A support user is a user created for Picturepark support personnel.
Declaration
[JsonProperty("isSupportUser", Required = Required.Always)]
public bool IsSupportUser { get; set; }
Property Value
Declaration
[JsonProperty("lastActivity", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public DateTime? LastActivity { get; set; }
Property Value
Declaration
[JsonProperty("lastName", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string LastName { get; set; }
Property Value
Life cycle state the user is currently in.
Declaration
[JsonProperty("lifeCycle", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
[JsonConverter(typeof(StringEnumConverter))]
public LifeCycle LifeCycle { get; set; }
Property Value
IDs of user roles user is assigned to
Declaration
[JsonProperty("userRoleIds", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<string> UserRoleIds { get; set; }
Property Value
Methods
Declaration
public static UserWithRoles FromJson(string data)
Parameters
Returns