StaticSiteResource.UpdateUserAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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: 2024-04-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.StaticSiteUser>> UpdateUserAsync (string authprovider, string userid, Azure.ResourceManager.AppService.Models.StaticSiteUser staticSiteUserEnvelope, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateUserAsync : string * string * Azure.ResourceManager.AppService.Models.StaticSiteUser * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.StaticSiteUser>>
override this.UpdateUserAsync : string * string * Azure.ResourceManager.AppService.Models.StaticSiteUser * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.StaticSiteUser>>
Public Overridable Function UpdateUserAsync (authprovider As String, userid As String, staticSiteUserEnvelope As StaticSiteUser, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.