Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview


This structure contains information associated with an entity lock and uniquely identifies the user who is currently holding itis a component of PwsEntityLockSummary and contains information about a single user's locks on the entity. See PwsEntityLockSummary for more information on how this structure is used in Projector's locking scheme.

Format


Panel
titlePwsEntityLockSummaryItem
  • PwsEntityLockSummaryItem
    • LockCount: Int32
    • LockHolderUserIdentity: PwsUserRef
    • MostRecentLockAcquisitionTimestamp: DateTime

Elements


Element

Data Type

Required?

Description

Sample Data

LockCount

Int32

Yes

The number of

locks to be stolen

locksheld.

1

LockHolderUserIdentity

PwsUserRef

Yes 

The structure uniquely identifies the user who is holding the lock

 

.


MostRecentLockAcquisitionTimestamp

DateTime

Yes 

This timestamp represents the

most recent

acquisition time of the most recently acquired entity lock held by the user.

2018-10-16T13:59:12.903Z

Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
<com:PwsEntityLockSummaryItem>
    <com:LockCount>1</com:LockCount>
    <com:LockHolderUserIdentity>
       <com:UserDisplayName>IT Manager</com:UserDisplayName>
       <com:UserReferenceSystemId>IT Manager</com:UserReferenceSystemId>
    </com:LockHolderUserIdentity>
    <com:MostRecentLockAcquisitionTimestamp>2018-10-16T13:59:12.903Z</com:MostRecentLockAcquisitionTimestamp>
 </com:PwsEntityLockSummaryItem>