Interface IdentitySelectActionProperties

<svi-identity-select-action
[model]="selectedIdentities"
[title]="'Multiple Users and Groups from Button'"
[hideLabel]="true"
(selectionDialogClose)="onDialogClose($event)"
(modelChanged)="onSelectionChange($event)"
></svi-identity-select-action>
<svi-identity-select-action
[model]="selectedIdentities"
[title]="'Multiple Users from Button'"
[hideLabel]="true"
[selectionMode]="selectionMode.Users"
(selectionDialogClose)="onDialogClose($event)"
(modelChanged)="onSelectionChange($event)"
></svi-identity-select-action>
const identityAvatar = document.createElement(SVICustomElement.IdentitySelectAction);
identitySelect.title = this.title;
identitySelect.actionMode = this.actionMode;
interface IdentitySelectActionProperties {
    actionMode?: ActionMode;
    disabled?: boolean;
    filter?: IIdentitySelectFilterOptions;
    hideLabel?: boolean;
    iconClass?: string;
    identities?: IIdentityOption[];
    label?: string;
    limitSelectionToMembersOf?: string | ILimitSelectionToConfig;
    okButtonLabel?: string;
    selectedIdentities?: IIdentityOption[];
    selectionDialogClose?: ((event: CustomEvent<any>) => void);
    selectionMode?: SelectionMode;
    tabIndex?: string;
    title?: string;
}

Properties

actionMode?: ActionMode

Determines if the action is rendered as a Button or MenuItem (default: ActionMode.Button).

disabled?: boolean

Disables the component's controls. (default: false)

The filtering options used when the available identities are retrieved from the identities microservice.

hideLabel?: boolean

Defines if the label will be hidden. (default: false).

iconClass?: string

Optional icon class that can be used to override the default button icon.

identities?: IIdentityOption[]

The available users and groups to select from. If not provided, the identities are retrieved from the identities microservice.

label?: string

Optional label that can be used to override the default button label.

limitSelectionToMembersOf?: string | ILimitSelectionToConfig

Only members of the given group will be valid and selectable. If inclusive if true, the group itself is treated as a valid selection.

Accepts the group id as a string, or as part of configuration object.

okButtonLabel?: string

Label for the identity select dialog "ok" button. (default: "ok")

selectedIdentities?: IIdentityOption[]

Pre-select Identities.

selectionDialogClose?: ((event: CustomEvent<any>) => void)

Emits the selected identities when the dialog's ok button is clicked.

selectionMode?: SelectionMode

Does the input allow the selection of only a user, users, a group, groups, or both? (default: SelectionMode.UsersAndGroups)

tabIndex?: string

The tabIndex for the button (default: TabIndex.Tabbable).

title?: string

Optional title that can be used to override the default dialog title.