Versions Compared

Key

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

...

Array<Identity> myWorkItem.GetOwners(real: boolean)

...

Arguments

boolean real
Specifies the return real or simulated owner. Default value is true.

Returns

...

Array<Identity> myWorkItem.GetOwners(real: boolean)

Arguments

...

Remarks

This method always returns the assigned identities (Position, User etc) without any calculation. If you need to assigned users please see the WorkItem.GetOwnerUsers method.

Example

Code Block
languagejs
var owners = $WorkItem.GetOwners();
console.log(owners.length && owners[0].Name);

See Also