How to find the logged in user is Admin or Standard user?
How to find the logged in user is Admin or Standard user?
- Subject: How to find the logged in user is Admin or Standard user?
- From: "sunil prajapati" <email@hidden>
- Date: Fri, 4 Jan 2008 21:23:28 +0530
Hi Guys,
How to find programmatically whether logged in user is Admin or Standard ?
I looked at UID and GID of the users. I found that UID and GID of root user is always zero and but for Admin and Standard users it is always greater than 500 where I can not identify that whether user is Admin or Standard user.
Is there any Carbon or Cocoa APIs which can give me whether my logged in user is Admin or Standard user?
Thanks,
Sunil.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden