CanRemoveLock

(Control Lock Manager)

Description: Returns true if the user has lock removing privileges and appropriate lock ownership.
Returns: Boolean
Usage: Script or Steady State
Function Groups:

(Control Lock Manager)

Related to:

AddLock | CanAddLock | CanControl (Control Lock Manager) | CanRemoveLock | GetLockLevel | RemoveLock |

Format: \ControlLockManager.CanRemoveLock(TagID, LockInfo[, SessionID, AccountID, MachineID] )
Parameters:  
TagID
Required text. The unique ID of tag being examined.
LockInfo
Required text or structure. May be the lock record (a structure) or a GUID (text).
SessionID
Optional text. The ID of the session where this function was called. Defaults to the current security session.
AccountID
Optional text. The AccountID of the user removing the lock. Defaults to the user signed in at the station where this function is called.
MachineID
Optional text. The workstation's MachineID. Defaults to the workstation from which this function is called.
Comments:

None

Example:

None available.