On Nov 16, 2006, at 7:55 PM, Dean Davis wrote:

I just need to know if the user running my program is an Admin user?
Anyone know how to do this for Windows and Mac (I guess Linux too but
I don't compile for Linux)?
Would rather not rely on checking a folders permissions but would like
an actual OS function.
I know MBS has a function for Windows but I didn't find a similar one for Mac.

Dean Davis

or it's replacement

    id -Gn

tells you what groups the user belongs to _______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to