Table of Contents

Class UserRoleModel

Namespace
Nfield.SDK
Assembly
Nfield.Public.SDK.dll

Contains the user role for the currently authenticated user.

public class UserRoleModel
Inheritance
UserRoleModel
Inherited Members

Properties

Permissions

The permissions for the currently authenticated session.

[JsonProperty("Permissions", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<string> Permissions { get; set; }

Property Value

ICollection<string>

UserRoles

The user roles for the currently authenticated user. If multiple roles are assigned, the roles are ordered from 'most powerful' to 'least powerful'

[JsonProperty("UserRoles", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<string> UserRoles { get; set; }

Property Value

ICollection<string>