Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: "Finlay Dobbie" <email@hidden>
- Date: Sun, 22 Apr 2007 13:11:39 +0100
On 22/04/07, Marco Ippoliti <email@hidden> wrote:
In AS exists
tell application "System Events"
get the picture path of the current user
end tell
so I suspect that should exist in cocoa as well, but I cound not find
any reference in documentation nor with google searches.
No, no way to do it easily in Cocoa. The "correct" way to access this
information is probably using the Open Directory API. See:
<http://developer.apple.com/documentation/Networking/Conceptual/Open_Directory/index.html>
<http://developer.apple.com/samplecode/NetworkAuthentication/index.html>
You'll need to retrieve the user record's kDS1AttrPicture attribute.
-- Finlay
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >(no subject) (From: Marco Ippoliti <email@hidden>) |