Ilumnis Authentication

RoleCollection Members

RoleCollection overview

Public Instance Constructors

RoleCollection Overloaded. Initializes a new instance of the RoleCollection class.

Public Instance Properties

CurrentValidator (inherited from AuthenticationValidator) Gets or sets current authentication validator implementation.
ItemOverloaded. Gets or sets role with specific RoleId in this collection.
Items Gets or sets roles contained in this role collection.

Public Instance Methods

AddOverloaded. Adds a role to this collection.
Clear Removes all roles from this role collection.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
HasRightOverloaded. Checks if a right is part of in any of roles in this collection.
HasRoleOverloaded. Checks if a role is part of this role collection.
Load Loads all roles assigned to user with specific UserId.
RemoveOverloaded. Removes a role from this collection.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RoleCollection Class | IExSys.Authentication Namespace