Language

SFChooseIdentityPanel.RunModal(SecIdentity[], String) Method

Definition

Displays the panel modally with the specified array of identities and a message.

[Foundation.Export("runModalForIdentities:message:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSModalResponse RunModal(Security.SecIdentity[] identities, string? message);
[<Foundation.Export("runModalForIdentities:message:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RunModal : Security.SecIdentity[] * string -> AppKit.NSModalResponse
override this.RunModal : Security.SecIdentity[] * string -> AppKit.NSModalResponse

Parameters

identities
SecIdentity[]

An array of SecIdentity objects to display.

message
String

A message to display in the panel, or null.

Returns

The button code that was pressed to dismiss the panel.

Attributes

Applies to