Platforms to show: All Mac Windows Linux Cross-Platform

CBIdentityPickerMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Collaboration MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A CBIdentityPicker object allows a user to select identities—for example, user or group objects—that it wants one or more services or shared resources to have access to.
Example
dim c as new CBIdentityPickerMBS
c.Title = "Please choose your identity"

dim n as Integer = c.runModal
if n = c.NSOKButton then
for each i as CBIdentityMBS in c.identities
MsgBox i.fullName
next
end if

An identity picker can be displayed either as an application-modal dialog or as a sheet attached to a document window. An identity picker returns the selected records to be added to access control lists using Collaboration. If a selected record is not a user or group identity, then an identity picker prompts the end user for additional information—such as a password—to promote that record to a sharing account.

Constants

Constant Value Description
NSCancelButton 0 One of the result codes you may need with this class.
NSOKButton 1 One of the result codes you may need with this class.

This class has no sub classes.

Blog Entries


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


CBIdentityMBS   -   CBL2CAPChannelMBS


The biggest plugin in space...