sym.sdk.integrations.onelogin.users_in_role¶
- sym.sdk.integrations.onelogin.users_in_role(role_id: int) List[sym.sdk.user.User] ¶
Returns the members of the specified OneLogin role.
The OneLogin role’s ID must be given, and the function will check that the role exists and is accessible.
- Parameters
role_id – The ID of the OneLogin role.
- Returns
A list of
Users
who are members of the given role.- Raises
MissingArgument – If the role_id is not provided.
OneLoginError – If the role does not exist or is not accessible.