PermissionGrantListResponse class
namespace: Serenity.Extensions assembly: Serenity.Extensions
The permissions that the current user can't grant or revoke, so a page can show them as read-only.
public class PermissionGrantListResponse : ServiceResponse
Public Members
| name | description |
|---|---|
| PermissionGrantListResponse() | The default constructor. |
| Denied { get; set; } | The permission keys that the current user can't grant or revoke, with the reason: "SuperAdminOnly" or "NotHeld", see PermissionGrantDenial. |
| IsSuperAdmin { get; set; } | Whether the current user is a super admin, who can grant anything. |
See Also
- class ServiceResponse
- Source: PermissionGrantListResponse.cs