CanControl (Control Token Manager)

(Control Token Manager)

See also: CanControl (Control Lock Manager)

Description: Returns true if there is a token allowing the control of a given tag.
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.CanControl(TagObj)
Parameters:  
TagObj
An object reference to the tag you wish to check for a Control Token.
Comments:

Returns true if there is a token allowing the control of the specified tag.

Always returns true if the nearest instance of the property, ControlTokensEnabled, is set to 0 (FALSE), meaning that the Control Token system is disabled for this workstation.