Versions Compared

Key

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

...

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

Arguments

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

Returns

...

Remarks

This method returns the

...

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

Arguments

...

dynamically calculated array of user type identities. When organization changes (e.g. adding or removing user to position) also changes the return value.

Example

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