The BCRoleBasedSecuredObject type exposes the following members.

Methods

  NameDescription
Public methodDispose
Releases the underlying wrapped object explicitly.
(Inherited from DisposableObject.)
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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasPrivilege
Determines whether the current user has a privilege with the specified name.
Public methodIsPrivilegeGrantedToUser(String)
Determines whether the current user has a privilege with the specified name.
Public methodIsPrivilegeGrantedToUser(String, String)
Determines whether the user has a privilege with the specified name.
Public methodIsPrivilegeGrantedToUser(String, String, PrivilegeNameFlags)
Determines whether the user has a privilege with the specified name.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnDispose
The method is called on the Dispose()()()() method call. Derived classes should override the method to perform custom disposing.
(Inherited from DisposableObject.)
Protected methodThrowIfDisposed
Throws the ObjectDisposedException exception if the underlying object has been disposed.
(Inherited from DisposableObject.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodUserHasPrivilege
Determines whether the user has a privilege with the specified name.
Public methodUserHasRole
Determines whether the user has a role with the specified name.

Properties

  NameDescription
Public propertyEnclosure
Gets the enclosure that defines user role assignments.
Public propertyIsDisposed
Gets a value indicating whether the object has been disposed of.
(Inherited from DisposableObject.)
Public propertyPrivileges
Gets the collection of privileges for the current user.
Public propertyRepository
Gets the repository to which the object belongs.
Public propertyUnderlyingObject
Gets the underlying wrapped object.
(Inherited from DisposableObject.)

See Also