Get usergroup from associate (id)

lock
push_pin
done
Beantwoord
2

In CRMScript, is it possible to get a list of usergroup items that an associate belongs to?

30 jan 2026 | 03:01 p.m.

Alles Antwoorden (2)

The UserAgent isn't restricted in CRMScript, so you can do;

Integer associateId = 1;

NSUserAgent userAgent;

NSUser user = userAgent.GetUser(associateId);

user.GetUserGroup();
user.GetOtherGroups();
30 jan 2026 | 03:04 p.m.

That was fast, thank you!!

30 jan 2026 | 03:09 p.m.

Reply toevoegen