Get usergroup from associate (id)

lock
push_pin
done
Besvart
2

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

8 t, 6 m siden | 03:01 p.m.

Alle Svar (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();
8 t, 3 m siden | 03:04 p.m.

That was fast, thank you!!

7 t, 57 m siden | 03:09 p.m.

Legg til svar