Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

SFU​.getUserMemberOf()

  • Last UpdatedJul 08, 2025
  • 1 minute read

Use SFU.getUserMemberOf() method to get the list of groups name to which the logged-in user is the direct member. This API works only with the Microsoft Entra repository.

Syntax

SFU.getUserMemberOf);

Return Value

List of groups name to which the logged-in user is the direct member. If the user is part of multiple groups, comma separated string of the groups is returned.

Example 1

// Gets the Groups for the logged-in user being the direct member

var groups = SFU.getUserMemberOf();

// groups variable would get a value like- "Everyone,skeltalist::Admin"

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in