Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Overview

Merges specified input as identity array. Duplicate values are removed from array..

Array<Identity> $Membership.Join(input: ( Array<string> | Array<Identity> ))

Arguments

( Array<string> | Array<Identity> ) input
List of identities. Can be array of Identity | identity

Returns

Array of identities.

Remarks

This function recursively searches if array element is a array again to find all identities on input element and returns flatten identity array.

Example

Merge to identity

Example

var result = $Membership.Join([
  $Membership.FindIdentity('Developers','Group'),
  $Membership.FindIdentity('General Management\Accounting','OrganizationUnit')
]);
  • No labels