CanDenyTokenRequest

(Control Token Manager)

Description: Returns TRUE if the user is allowed to deny a token request.
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.CanDenyTokenRequest(TagID, TokenRequestRecord[, SessionID, AccountID, MachineID])
Parameters:  
TagID
Required text. The GUID of the tag for which a token request should be denied.
TokenRequestRecord

something

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 either own the existing token, own the request, or have the token admin privilege. Returns FALSE otherwise.