Platforms to show: All Mac Windows Linux Cross-Platform

Back to CBUserIdentityMBS class.

CBUserIdentityMBS.userIdentityWithPosixUID(userID as Integer, authority as CBIdentityAuthorityMBS) as CBUserIdentityMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Collaboration MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the user identity with the given POSIX UID in the specified identity authority.
Example
// get first user
dim a as CBIdentityAuthorityMBS = CBIdentityAuthorityMBS.localIdentityAuthority
dim i as CBUserIdentityMBS = CBUserIdentityMBS.userIdentityWithPosixUID(501,a)

MsgBox i.fullName

uid: The UID of the identity you are searching for.
authority: The identity authority to search.

Retruns the user identity with the given UID in the specified identity authority, or nil if no identity exists with the specified UID.
Available in OS X v10.5 and later.

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...