IUserBuildEncryptedKey Method |
Build an encrypted key to perform the
specified action.
Namespace:
AskiaPortalCmn
Assembly:
AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax IReturnValue<string> BuildEncryptedKey(
EncryptedKeyAction action
)
Function BuildEncryptedKey (
action As EncryptedKeyAction
) As IReturnValue(Of String)
IReturnValue<String^>^ BuildEncryptedKey(
EncryptedKeyAction action
)
Parameters
- action
- Type: AskiaPortalCmnEncryptedKeyAction
Action to execute.
Return Value
Type:
IReturnValueString
Return success result when the user in the context
have enough right to perform the specified action.
Remarks
This method ensure the user in the context has enough
permission to perform the specified action.
Remarks
The encrypted key always change and his validity
expires after some times.
For some actions (eg. ResetPassword), the encrypted key automatically expired if the user
has been modified after his generation.
See Also