Displays a list of identities in a modal sheet from which the user can select an identity.
Original signature is '- (void)beginSheetForWindow:(NSWindow *)docWindow modalDelegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo identities:(NSArray *)identities message:(NSString *)message'
Available in Mac OS X v10.3 and later.

C# | Visual Basic | Visual C++ |
public virtual void BeginSheetForWindowModalDelegateDidEndSelectorContextInfoIdentitiesMessage( NSWindow docWindow, Id delegate, IntPtr didEndSelector, IntPtr contextInfo, NSArray identities, NSString message )

- docWindow (NSWindow)
- The parent window to which the sheet is attached.
- delegate (Id)
- The delegate object in which the method specified in the didEndSelector parameter is implemented.
- didEndSelector (IntPtr)
- A method selector for a delegate method called when the sheet has been dismissed. Implementation of this delegate method is optional.
- contextInfo (IntPtr)
- A pointer to data that is passed to the delegate method. You can use this data pointer for any purpose you wish.
- identities (NSArray)
- An array of identity objects (objects of type SecIdentityRef). Use the SecIdentitySearchCopyNext function (in Security/SecIdentitySearch.h) to find identity objects.
- message (NSString)
- A message string to display in the sheet.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)