CanRequestToken
(Control Token Manager)
Description: | Returns TRUE if the user is allowed to request a token. |
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.CanRequestToken(TagID[, SessionID, AccountID, MachineID]) |
Parameters: |
TagID |
Required text. The GUID of the tag to examine. |
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: |
The user must have the Token Request/Release privilege and must not currently own a token applying to the tag. |