$Membership.Expand

Overview

Expands to given input to User type identities and returns array of identities.

Array<Identity> $Membership.Expand(identity: ( string | Array<string> | Identity | Array<Identity> ))

Arguments

( string | Array<string> | Identity | Array<Identity> ) identity

Input to convert identity.

Returns

List of user type identities.

Remarks

If given input is not found in membership database empty array is returned.

Example

var administratorUsers = $Membership.Expand($Membership.FindIdentity('Administrators', 'Group')); var departmentUsers = $Membership.Expand($Membership.FindIdentity('MyOrganizationUnit', 'OrganizationUnit'));

Copyright © 2010 - 2023 Emakin. All rights reserved.