GetLockOwner
Description
Can be used to determine whether the record is locked or not. The return value is empty if the record is not locked, and non-empty otherwise.
Returns a String containing:
- The user's login id if the record is locked.
- An empty string if the record is not locked.
Note: This method became available in version 7.1.
Syntax
VBScript
entity.GetLockOwner
Perl
$entity->GetLockOwner
();
- Identifier
- Description
- entity
- An Entity object representing a user data record. Inside a hook, if you omit this part of the syntax, the Entity object corresponding to the current data record is assumed (VBScript only).
- Return value
- Returns a String containing:
- The user's login id if the record is locked.
- An empty string if the record is not locked.