function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
viswsanathviswsanath 

How to get list of partner roles where portal users are disabled(instead of deactivated)

HI Exports,

How to get list of partner roles where portal users are disabled(instead of deactivated), Could you please help me .


Regards,
Viswa
karthikeyan perumalkarthikeyan perumal
Hello Viswa, 

kinldy use below query to check for disable users. 
 
select PortalRole,IsPortalEnabled from User where id in  (select Userid from UserLogin where isFrozen=true)
MARK BEST ANSWER IF ITS WORK FOR YOU.

Thanks
Karthik
 
viswsanathviswsanath
Thanks Karthik :)
karthikeyan perumalkarthikeyan perumal
Hello Viswa, 

Mark best Answer if its worked for you

Thanks