• 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: Identifying unique login sessions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Identifying unique login sessions


  • Subject: Re: Identifying unique login sessions
  • From: Frank Midgley <email@hidden>
  • Date: Mon, 17 Nov 2003 11:32:04 -0600

On Nov 15, 2003, at 10:42PM, Shaun Wexler wrote:

Where is the best place to find appropriate data to generate a UID string to identify the current login session? I need a tool to pipe fd2 to the same text file during unique login sessions, creating a new file each time a user logs in...

See "Getting Login Session Information" in:

http://developer.apple.com/documentation/MacOSX/Conceptual/ BPMultipleUsers/Concepts/FastUserSwitching.html

You basically need to call SessionGetInfo(). Not sure when this API was introduced...

-Frank

------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/
_______________________________________________
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.

References: 
 >Identifying unique login sessions (From: Shaun Wexler <email@hidden>)

  • Prev by Date: Re: setDoubleAction in tableView
  • Next by Date: Re: Matching Postal Addresses
  • Previous by thread: Identifying unique login sessions
  • Next by thread: Writing an NSArray to disk
  • Index(es):
    • Date
    • Thread