Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface User

Package version

Interface representing a User.

Hierarchy

  • User

Implemented by

Index

Methods

createOrUpdate

delete

  • delete(resourceGroupName: string, serviceName: string, userId: string, ifMatch: string, options?: UserDeleteOptionalParams): Promise<void>
  • Deletes specific user.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • userId: string

      User identifier. Must be unique in the current API Management service instance.

    • ifMatch: string

      ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.

    • Optional options: UserDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

generateSsoUrl

  • Retrieves a redirection URL containing an authentication token for signing a given user into the developer portal.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • userId: string

      User identifier. Must be unique in the current API Management service instance.

    • Optional options: UserGenerateSsoUrlOptionalParams

      The options parameters.

    Returns Promise<UserGenerateSsoUrlResponse>

get

  • Gets the details of the user specified by its identifier.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • userId: string

      User identifier. Must be unique in the current API Management service instance.

    • Optional options: UserGetOptionalParams

      The options parameters.

    Returns Promise<UserGetResponse>

getEntityTag

  • Gets the entity state (Etag) version of the user specified by its identifier.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • userId: string

      User identifier. Must be unique in the current API Management service instance.

    • Optional options: UserGetEntityTagOptionalParams

      The options parameters.

    Returns Promise<UserGetEntityTagResponse>

getSharedAccessToken

listByService

  • Lists a collection of registered users in the specified service instance.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • Optional options: UserListByServiceOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<UserContract>

update

  • Updates the details of the user specified by its identifier.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • userId: string

      User identifier. Must be unique in the current API Management service instance.

    • ifMatch: string

      ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.

    • parameters: UserUpdateParameters

      Update parameters.

    • Optional options: UserUpdateOptionalParams

      The options parameters.

    Returns Promise<UserUpdateResponse>

Generated using TypeDoc