You need to sign in to do that
Don't have an account?
Boussad Sedoud
Delete assignment role from user
Hi Everyone,
I would like to delete all of my Role, but there are all assign to users (and i have a lot of users ),
so i'm trying to do an SOQL request through Workbench, but it doesn't works..
UPDATE User
SET UserRoleId = "NULL"
Where UserRoleId ="NOT NULL" ;
I don't know if i need quote or not, some of you have any ideas ?
Thanks you !!
I would like to delete all of my Role, but there are all assign to users (and i have a lot of users ),
so i'm trying to do an SOQL request through Workbench, but it doesn't works..
UPDATE User
SET UserRoleId = "NULL"
Where UserRoleId ="NOT NULL" ;
I don't know if i need quote or not, some of you have any ideas ?
Thanks you !!
First retive the user from associated role using workbench and assign them a dummy role with help of Data Loader.
then Delete all roles.
Thank.
Niraj Kumar