Last post Sep 20, 2010 08:10 AM by suresh dasari
Sep 19, 2010 03:06 AM|madan535|LINK
In my application, there are different roles i.e.. Manager, Admin,etc... All are having groups except Manager.
Now there is a problem how to distinguish managers and user
There is a Request form which needs to be approved by the manager (there is no group for manager) and requested user will select any user present in the AD Users as a manager.
When ever users login in to application, First i need to check whether login user has any request to approve(as a role of manager) or normal user(user submiting for a request)
If he has Request to approve, i will need to give two options Login ManageraAprroveror User Requests
How can achieve this task that need to keep track who is manager and user
Sep 19, 2010 04:08 AM|reza141414|LINK
i think u can use: current.user.name...
Sep 20, 2010 08:04 AM|madan535|LINK
one user can act as both manager and the user
Sep 20, 2010 08:10 AM|suresh dasari|LINK
if the user belongs two two roles means you need to show that person in
Users list and Managers List .Except that persons u should differntiate based on
roles if i am in your situation i will show output like this