User
|
The UserRoleCache type exposes the following members.
Name | Description | |
---|---|---|
Dispose |
Releases all the resources used by the InterprocessCache object.
(Inherited from InterprocessCache) |
|
Dispose(Boolean) |
Releases the unmanaged resources used by the InterprocessCache object and optionally releases the managed resources.
(Inherited from InterprocessCache) |
|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
|
Finalize |
Releases the unmanaged resources before the InterprocessCache object is reclaimed by GC.
(Inherited from InterprocessCache) |
|
GetCurrentCache | Loads the UserRoleCache for the current local user. | |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
|
GetType | Gets the Type of the current instance. (Inherited from Object) |
|
HashLoginID | Calculates the hash of the userName used as the key for the user roles dictionary. | |
Load |
Initiates inter-process synchronized cache file load.
(Inherited from InterprocessCache) |
|
LoadFileData |
Handles deserialization of file from disk; virtual method allows customization (e.g., pre-load decryption and/or data merge).
(Overrides InterprocessCacheLoadFileData(FileStream)) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
|
MergeLeft | Merge user roles from another UserRoleCache, local cache taking precedence. | |
MergeRight | Merge user roles from another UserRoleCache, other cache taking precedence. | |
Save |
Initiates inter-process synchronized save of user role cache.
(Overrides InterprocessCacheSave) |
|
SaveFileData |
Handles serialization of file to disk; virtual method allows customization (e.g., pre-save encryption and/or data merge).
(Overrides InterprocessCacheSaveFileData(FileStream, Byte)) |
|
SaveUserRole | Serializes the roles for the given userName into the UserRoleCache. | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
|
TryGetUserRole | Attempts to retrieve access role for given userName. | |
WaitForLoad |
Blocks current thread and waits for any pending load to complete; wait time is RetryDelayInterval * MaximumRetryAttempts.
(Inherited from InterprocessCache) |
|
WaitForLoad(Int32) |
Blocks current thread and waits for specified millisecondsTimeout for any pending load to complete.
(Inherited from InterprocessCache) |
|
WaitForSave |
Blocks current thread and waits for any pending save to complete; wait time is RetryDelayInterval * MaximumRetryAttempts.
(Inherited from InterprocessCache) |
|
WaitForSave(Int32) |
Blocks current thread and waits for specified millisecondsTimeout for any pending save to complete.
(Inherited from InterprocessCache) |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
|
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |