Share via


StaticSiteResource.UpdateUser Method

Definition

Description for Updates a user entry with the listed roles

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/authproviders/{authprovider}/users/{userid}
  • Operation Id: StaticSites_UpdateStaticSiteUser
  • Default Api Version: 2023-12-01
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.StaticSiteUser> UpdateUser (string authprovider, string userid, Azure.ResourceManager.AppService.Models.StaticSiteUser staticSiteUserEnvelope, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateUser : string * string * Azure.ResourceManager.AppService.Models.StaticSiteUser * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.StaticSiteUser>
override this.UpdateUser : string * string * Azure.ResourceManager.AppService.Models.StaticSiteUser * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.StaticSiteUser>
Public Overridable Function UpdateUser (authprovider As String, userid As String, staticSiteUserEnvelope As StaticSiteUser, Optional cancellationToken As CancellationToken = Nothing) As Response(Of StaticSiteUser)

Parameters

authprovider
String

The auth provider for this user.

userid
String

The user id of the user.

staticSiteUserEnvelope
StaticSiteUser

A JSON representation of the StaticSiteUser properties. See example.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

authprovider or userid is an empty string, and was expected to be non-empty.

authprovider, userid or staticSiteUserEnvelope is null.

Applies to