Re: NSUIElement
Re: NSUIElement
- Subject: Re: NSUIElement
- From: Charles Srstka <email@hidden>
- Date: Fri, 4 Oct 2002 16:29:30 -0500
I think that getgid() aught to do it.
Charles
On Friday, October 4, 2002, at 04:12 PM, Ben Mackin wrote:
On 10/4/02 1:57 PM, "Finlay Dobbie" <email@hidden> wrote:
You can't rely on the user running your application having write
permissions to your application bundle or the directory containing it.
For example, if they are a non-administrator and the app has been
installed in /Applications by an admin.
Ok, then what I will do is disable the option to switch if they are
not the
admin. How does one check if the current user has admin privileges, or
if
they are a "normal" user?
Thanks,
Ben
http://www.shayufilms.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.