ScriptedAttribute

Kicic Sakib Sakib.Kicic at smhi.se
Mon Nov 29 11:47:28 UTC 2021


Hi,
I am creating "ScriptedAttribute" definition id="Role" and add attribute value depending on group membership.
Trying to get group membership with script but it does not work.

if (typeof memberOf != "undefined" && memberOf != null )
{
	"If member of a group  add value equal = admin to Role attribute"
}
But it does not even goes in this statement and I know that I am member of many groups in ldap.
Am I missing something?


Regards,




More information about the users mailing list