The BCRoleBasedSecuredObject type exposes the following members.
Methods
Name | Description | |
---|---|---|
Dispose |
Releases the underlying wrapped object explicitly.
(Inherited from DisposableObject.) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasPrivilege |
Determines whether the current user has a privilege with the specified name.
| |
IsPrivilegeGrantedToUser(String) |
Determines whether the current user has a privilege with the specified name.
| |
IsPrivilegeGrantedToUser(String, String) |
Determines whether the user has a privilege with the specified name.
| |
IsPrivilegeGrantedToUser(String, String, PrivilegeNameFlags) |
Determines whether the user has a privilege with the specified name.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnDispose |
The method is called on the Dispose()()()() method call.
Derived classes should override the method to perform custom disposing.
(Inherited from DisposableObject.) | |
ThrowIfDisposed |
Throws the ObjectDisposedException exception if
the underlying object has been disposed.
(Inherited from DisposableObject.) | |
ToString | (Inherited from Object.) | |
UserHasPrivilege |
Determines whether the user has a privilege with the specified name.
| |
UserHasRole |
Determines whether the user has a role with the specified name.
|
Properties
Name | Description | |
---|---|---|
Enclosure |
Gets the enclosure that defines user role assignments.
| |
IsDisposed |
Gets a value indicating whether the object has been disposed of.
(Inherited from DisposableObject.) | |
Privileges |
Gets the collection of privileges for the current user.
| |
Repository |
Gets the repository to which the object belongs.
| |
UnderlyingObject |
Gets the underlying wrapped object.
(Inherited from DisposableObject.) |