Forum Discussion

AbhishekIlindra's avatar
8 years ago

Active or Deactivate Roles

Hi Lithium Team,

 

Can we able to find all Active or Deactivate Roles in the Community. 

 

Is it possible to find this approach

 

Regards,

Abhishek Illindra

4 Replies

  • Hi AbhishekIlindra,

    what's your exact definition of an active/inactive role? I don't find any feature which enables/disables roles in the Community Administrator.

    If your looking for some information about your defined roles, you can use APIv1 to list them.

     

    Best regards,

    Christian

  • cike's avatar
    cike
    Champion
    8 years ago

    AbhishekIlindra: Take a look here. Maybe you could list all users which have a specific role assigned. If the list is empty, the role is not used/assigned.

  • VarunGrazitti's avatar
    VarunGrazitti
    Boss
    8 years ago

    AbhishekIlindra - Maybe you want to get the list of the roles which do not have any users in it, right? Otherwise, there is no such thing as active/ inactive roles.

     

    As cike mentioned, this is the one which you can use to see if the roles have users or not.