Skip to content

IsMemberOf

Determines whether a source identity is a member of a target identity.

1
$Membership.IsMemberOf(source: ( string | Identity ), target: ( string | Identity )):boolean

Parameters

( string | Identity ) source
    The identity to check for membership.

( string | Identity ) target
    The identity to check against.

Returns

True if the source identity is a member of the target identity; otherwise, false.