CanReleaseToken
(Control Token Manager)
Description: | Returns true if the user has token releasing privileges and appropriate token ownership. |
Returns: | Boolean |
Usage: | Script or steady state. |
Function Groups: |
(Control Token Manager) |
Related to: |
CanControl (Control Token Manager) | CanDenyTokenRequest | CanGrantTokenRequest | CanReleaseToken | CanRequestToken | DenyTokenRequest | GetToken (Control Lock Module) | GetTokenLevel | GrantTokenRequest | ReleaseToken | RequestToken | |
Format: | \ControlTokenManager.CanReleaseToken(TagID, TokenInfo[, SessionID, AccountID, MachineID]) |
Parameters: |
TagID |
Required text. The GUID of the tag, from which a token should be released. |
TokenInfo |
Required text. The token record or the token record's GUID to release. The token record can be Obtained by calling GetToken. |
SessionID |
Optional text. Defaults to the current Session ID if not specified. Used when checking whether a control token is already held. |
AccountID |
Optional text. Defaults to the current user Account ID. Used when checking whether a control token is already held. |
MachineID |
Optional text. Defaults to the current user Machine ID. Used when checking whether a control token is already held. |
Comments: |
Returns TRUE if the user has token releasing privileges and appropriate token ownership. Returns FALSE otherwise. |