RE: Get User Type
RE: Get User Type
- Subject: RE: Get User Type
- From: "Francois Houle" <email@hidden>
- Date: Thu, 24 Feb 2005 09:35:00 -0500
- Thread-topic: Get User Type
Hi
<<"admin" is in words of (do shell script "id")>>
would inded say if the person is admin, but only if the admin group is
indeed called admin. But I guess you could set the key work differently
accroding to your group structure.
You could also use the "groups" command instead of "id"
-----Original Message-----
From: applescript-users-bounces+francois.houle=email@hidden
[mailto:applescript-users-bounces+francois.houle=email@hidden.c
om] On Behalf Of Gnarlodious
Sent: Thursday, February 17, 2005 1:45 PM
To: Applescript
Subject: Re: Get User Type
Entity Kennedy, Colin spoke thus:
> Is there a way to get User Type (Standard or Admin) using a shell
> script or
"admin" is in words of (do shell script "id")
--
Cosmetic Justice; when the Botox gives you Mad Cow Disease
-- Gnarlodious
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mcgill.ca
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden