memberOf (userReference : xlink, groupReference : string) : boolean

The method “memberOf” checks whether a user is a direct or - via a group include - indirect member of a group.

The parameter “userReference” specifies for which user the membership is to be checked.

This method also supplies “false” if the specified group or user are not present or the executing user is not logged onto the system.

<xsl:stylesheet xmlns:xsl="" xmlns:app="" xmlns:onion="" version="1.0">
<xsl:template match="/">
<xsl:value-of select="app:memberOf('onion://usermanagement/users/12', 'onion://usermanagement/groups/1')" />
Test membership