+ 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