Get usergroup from associate (id)

lock
push_pin
done
Beantwortet
2

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

30. Jan. 2026 | 03:01 PM

Alle Antworten (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 PM

That was fast, thank you!!

30. Jan. 2026 | 03:09 PM

Antwort hinzufügen