Method GetPermissionByIdAsync(long, CancellationToken)

Assembly: redb.Core.dll

Get permission by ID.

[Obsolete("Object permissions and roles are deprecated and will be removed in a future major version. Authorise in the application (as redb.Identity does) or use the database's own roles and row-level security.")]
Task<IRedbPermission?> GetPermissionByIdAsync(long permissionId, CancellationToken cancellationToken = default)