Click or drag to resize

UserPermissions Class

Permissions of User.
Inheritance Hierarchy
SystemObject
  Recrovit.RecroGridFramework.SecurityUserPermissions

Namespace:  Recrovit.RecroGridFramework.Security
Assembly:  Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 6.0.0
Syntax
C#
[SerializableAttribute]
public class UserPermissions : IEnumerable<KeyValuePair<int, bool>>, 
	IEnumerable

The UserPermissions type exposes the following members.

Constructors
  NameDescription
Public methodUserPermissions(Boolean)
Initializes a new instance of the UserPermissions class.
Public methodUserPermissions(String)
Initializes a new instance of the UserPermissions class.
Public methodUserPermissions(UserPermissions)
Initializes a new instance of the UserPermissions class.
Top
Properties
  NameDescription
Public propertyBasePermissions
Gets the base permissions.
Public propertyCRUD
Gets or sets the acronym CRUD (Create, Read, Update, Delete).
Public propertyIsFullPermission
Gets a value indicating whether this instance includes all base permissions is allowed.
Top
Methods
  NameDescription
Public methodAdd(Enum, Boolean)
Adds the specified permission type.
Public methodAdd(Int32, Boolean)
Adds permission type of specified identifier.
Public methodAdd(String, Boolean)
Adds permission type of specified name.
Public methodAddOrReplace(UserPermissions)
Adds or replaces permissions.
Public methodAddOrReplace(Enum, Boolean)
Adds or replaces permission type of specified name.
Public methodAddOrReplace(Int32, Boolean)
Adds or replaces permission type of specified identifier.
Public methodAddOrReplace(String, Boolean)
Adds or replaces permission type of specified name.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetPermission(Enum)
Gets the permission.
Public methodGetPermission(Int32)
Gets the permission.
Public methodGetPermission(String)
Gets the permission.
Public methodStatic memberGetPermissionId
Gets the permission identifier.
Public methodGetPermissions
Checks specified CRUD permissions simultaneously.
Public methodSetMaxCRUD
Sets the maximum CRUD.
Top
See Also