• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Get User Type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Need Help with Mail...
  • Next by Date: User Interaction Not Allowed
  • Previous by thread: Re: Get User Type
  • Next by thread: Quark 5 'every text' problem
  • Index(es):
    • Date
    • Thread