I am using objective-c for the first time.
My requirement is to authenticate the logged in user and find their SID.
In windows development we have a very few APIS, with the help of which we can find out the SID of the user.
My assumption is: there should be some functions in the cocoa framework which should tell us the SID of the user.
If there is no such feature, then how else should I try to find it?
Guide me on this.
I think it's a unique identifier for the device.
This open source project helps you get that:
UIDevice-with-UniqueIdentifier-for-iOS-5
From the documentation:
use
[[UIDevice currentDevice] uniqueDeviceIdentifier]
to retrieve the unique identifier (it's a hash of your Bundle ID + MAC address)use
[[UIDevice currentDevice] uniqueGlobalDeviceIdentifier]
to retrieve a global unique identifier (it's a hash of the MAC address, used for tracking between different apps).