Forum Discussion

MatthieuR's avatar
MatthieuR
New Contributor III
3 years ago
Solved

Get all groups for a given user

Hello All, It might sound like a simple question but I could not find the code in snippet or elsewhere of how to grab in a rule a list of all groups a user is part of. Could someone share how to ...
  • DanielWillis's avatar
    3 years ago

    Try brapi.Security.Admin.GetUser(si,username).ParentGroups