Click or drag to resize

UserPermissions Class

Specifies a permission for a user
Inheritance Hierarchy
SystemObject
  System.Collections.GenericDictionaryString, PermissionBits
    NetQuarry.Security.PackageUserPermissions

Namespace:  NetQuarry.Security.Package
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public class UserPermissions : Dictionary<string, PermissionBits>

The UserPermissions type exposes the following members.

Constructors
  NameDescription
Public methodUserPermissions
Initializes a new instance of the UserPermissions class
Top
Properties
  NameDescription
Public propertyComparer (Inherited from DictionaryString, PermissionBits.)
Public propertyCount (Inherited from DictionaryString, PermissionBits.)
Public propertyItem
Gets or sets the value associated with the specified key.
(Inherited from DictionaryString, PermissionBits.)
Public propertyKeys (Inherited from DictionaryString, PermissionBits.)
Public propertyValues (Inherited from DictionaryString, PermissionBits.)
Top
Methods
  NameDescription
Public methodAdd
Adds the specified key and value to the dictionary.
(Inherited from DictionaryString, PermissionBits.)
Public methodClear (Inherited from DictionaryString, PermissionBits.)
Public methodContainsKey (Inherited from DictionaryString, PermissionBits.)
Public methodContainsValue (Inherited from DictionaryString, PermissionBits.)
Public methodStatic memberCreateInstance
Creates an instance of UserPermissions from the current logged on user.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator (Inherited from DictionaryString, PermissionBits.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetObjectData (Inherited from DictionaryString, PermissionBits.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasPermission
Returns true if the permission level exists for the current user
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnDeserialization
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from DictionaryString, PermissionBits.)
Public methodRemove (Inherited from DictionaryString, PermissionBits.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value associated with the specified key.
(Inherited from DictionaryString, PermissionBits.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also