Re: getting username of authenticated volume

2008-10-02 Thread Stéphane Sudre
On Oct 2, 2008, at 6:30 PM, Mark McCray wrote: Hey there,Is there a way to figure out what username was used to log on to a mounted volume by knowing the volume name Yes. With statfs: uid_t f_owner;/* user that mounted the file system */ you then just need to transform the uid to a

getting username of authenticated volume

2008-10-02 Thread Mark McCray
Hey there,Is there a way to figure out what username was used to log on to a mounted volume by knowing the volume name? Thanks, mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the li