...
Array<Identity> myWorkItem.GetOwners(real: boolean)
Arguments
boolean real
...
Specifies the return real or simulated owner. Default value is true.
Returns
...
Remarks
This method always returns the assigned identities (Position, User etc) without any calculation. If you need to assigned users please see the WorkItem.
Array<Identity> myWorkItem.GetOwners(real: boolean)
Arguments
...
GetOwnerUsers method.
Example
Code Block | ||
---|---|---|
| ||
var owners = $WorkItem.GetOwners();
console.log(owners.length && owners[0].Name); |