PwsEntityLockSummaryItem

Overview


This structure is 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


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

Elements


Element

Data Type

Required?

Description

Sample Data

LockCount

Int32

Yes

The number of locksheld.

1

LockHolderUserIdentity

PwsUserRef

Yes 

The structure uniquely identifies the user who is holding the lock.


MostRecentLockAcquisitionTimestamp

DateTime

Yes 

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

2018-10-16T13:59:12.903Z

Usage Example(s)


Example 01
<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>