Condividi tramite


GroupUser interface

Interfaccia che rappresenta un oggetto GroupUser.

Metodi

checkEntityExists(string, string, string, string, GroupUserCheckEntityExistsOptionalParams)

Verifica che l'entità utente specificata dall'identificatore sia associata all'entità del gruppo.

create(string, string, string, string, GroupUserCreateOptionalParams)

Aggiunge l’utente esistente al gruppo esistente

delete(string, string, string, string, GroupUserDeleteOptionalParams)

Rimuovere l'utente esistente dal gruppo esistente.

list(string, string, string, GroupUserListOptionalParams)

Elenca una raccolta di entità utente associate al gruppo.

Dettagli metodo

checkEntityExists(string, string, string, string, GroupUserCheckEntityExistsOptionalParams)

Verifica che l'entità utente specificata dall'identificatore sia associata all'entità del gruppo.

function checkEntityExists(resourceGroupName: string, serviceName: string, groupId: string, userId: string, options?: GroupUserCheckEntityExistsOptionalParams): Promise<GroupUserCheckEntityExistsResponse>

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Per il nome non viene fatta distinzione tra maiuscole e minuscole.

serviceName

string

Nome del servizio Gestione API.

groupId

string

Identificatore del gruppo. Deve essere univoco nell'istanza corrente del servizio Gestione API.

userId

string

Identificatore dell'utente. Deve essere univoco nell'istanza corrente del servizio Gestione API.

options
GroupUserCheckEntityExistsOptionalParams

Parametri delle opzioni.

Restituisce

create(string, string, string, string, GroupUserCreateOptionalParams)

Aggiunge l’utente esistente al gruppo esistente

function create(resourceGroupName: string, serviceName: string, groupId: string, userId: string, options?: GroupUserCreateOptionalParams): Promise<UserContract>

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Per il nome non viene fatta distinzione tra maiuscole e minuscole.

serviceName

string

Nome del servizio Gestione API.

groupId

string

Identificatore del gruppo. Deve essere univoco nell'istanza corrente del servizio Gestione API.

userId

string

Identificatore dell'utente. Deve essere univoco nell'istanza corrente del servizio Gestione API.

options
GroupUserCreateOptionalParams

Parametri delle opzioni.

Restituisce

Promise<UserContract>

delete(string, string, string, string, GroupUserDeleteOptionalParams)

Rimuovere l'utente esistente dal gruppo esistente.

function delete(resourceGroupName: string, serviceName: string, groupId: string, userId: string, options?: GroupUserDeleteOptionalParams): Promise<void>

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Per il nome non viene fatta distinzione tra maiuscole e minuscole.

serviceName

string

Nome del servizio Gestione API.

groupId

string

Identificatore del gruppo. Deve essere univoco nell'istanza corrente del servizio Gestione API.

userId

string

Identificatore dell'utente. Deve essere univoco nell'istanza corrente del servizio Gestione API.

options
GroupUserDeleteOptionalParams

Parametri delle opzioni.

Restituisce

Promise<void>

list(string, string, string, GroupUserListOptionalParams)

Elenca una raccolta di entità utente associate al gruppo.

function list(resourceGroupName: string, serviceName: string, groupId: string, options?: GroupUserListOptionalParams): PagedAsyncIterableIterator<UserContract, UserContract[], PageSettings>

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Per il nome non viene fatta distinzione tra maiuscole e minuscole.

serviceName

string

Nome del servizio Gestione API.

groupId

string

Identificatore del gruppo. Deve essere univoco nell'istanza corrente del servizio Gestione API.

options
GroupUserListOptionalParams

Parametri delle opzioni.

Restituisce