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
pcmca_2007@yahoo.co.inpcmca_2007@yahoo.co.in 

Checking for manager

Hi,

     How do i check that a particular User is manager or not.

 

  With Regards

Prabhash Mishra

r1985r1985

Hi,

 

Use the below query.

 

select managerid from user where managerid=:uruser limit 1

 

If it returns no value then he is not a manager.

 

 

Thanks,

MVP