![]() | UserPermissions Class |
Namespace: Recrovit.RecroGridFramework.Security
[SerializableAttribute] public class UserPermissions : IEnumerable<KeyValuePair<int, bool>>, IEnumerable
The UserPermissions type exposes the following members.
Name | Description | |
---|---|---|
![]() | UserPermissions(Boolean) |
Initializes a new instance of the UserPermissions class.
|
![]() | UserPermissions(String) |
Initializes a new instance of the UserPermissions class.
|
![]() | UserPermissions(UserPermissions) |
Initializes a new instance of the UserPermissions class.
|
Name | Description | |
---|---|---|
![]() | BasePermissions |
Gets the base permissions.
|
![]() | CRUD |
Gets or sets the acronym CRUD (Create, Read, Update, Delete).
|
![]() | IsFullPermission |
Gets a value indicating whether this instance includes all base permissions is allowed.
|
Name | Description | |
---|---|---|
![]() | Add(Enum, Boolean) |
Adds the specified permission type.
|
![]() | Add(Int32, Boolean) |
Adds permission type of specified identifier.
|
![]() | Add(String, Boolean) |
Adds permission type of specified name.
|
![]() | AddOrReplace(UserPermissions) |
Adds or replaces permissions.
|
![]() | AddOrReplace(Enum, Boolean) |
Adds or replaces permission type of specified name.
|
![]() | AddOrReplace(Int32, Boolean) |
Adds or replaces permission type of specified identifier.
|
![]() | AddOrReplace(String, Boolean) |
Adds or replaces permission type of specified name.
|
![]() | GetEnumerator |
Returns an enumerator that iterates through the collection.
|
![]() | GetPermission(Enum) |
Gets the permission.
|
![]() | GetPermission(Int32) |
Gets the permission.
|
![]() | GetPermission(String) |
Gets the permission.
|
![]() ![]() | GetPermissionId |
Gets the permission identifier.
|
![]() | GetPermissions |
Checks specified CRUD permissions simultaneously.
|
![]() | SetMaxCRUD |
Sets the maximum CRUD.
|