Class EffectivePermissionResult

Assembly: redb.Core.dll

Result of getting user's effective permissions on object

public class EffectivePermissionResult

Inheritance

ObjectEffectivePermissionResult

Properties

CanDelete

Delete permission

public bool CanDelete { get; set; }

CanInsert

Permission to create child objects

public bool CanInsert { get; set; }

CanSelect

Read permission

public bool CanSelect { get; set; }

CanUpdate

Edit permission

public bool CanUpdate { get; set; }

HasAnyPermission

Has any permissions

public bool HasAnyPermission { get; }

HasFullPermission

Has full permissions (all actions allowed)

public bool HasFullPermission { get; }

IsInherited

Permission is inherited from parent object

public bool IsInherited { get; }

ObjectId

Object ID

public long ObjectId { get; set; }

PermissionSourceId

Permission source ID (object from which permission is inherited)

public long PermissionSourceId { get; set; }

PermissionType

Permission type (user or role-based)

public string PermissionType { get; set; }

PermissionUserId

User ID in permission (if permission is user-based)

public long? PermissionUserId { get; set; }

RoleId

Role ID (if permission is role-based)

public long? RoleId { get; set; }

UserId

User ID

public long UserId { get; set; }