Dela via


StaticSitesOperationsExtensions.UpdateStaticSiteUserAsync Method

Definition

Updates a user entry with the listed roles

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.StaticSiteUserARMResource> UpdateStaticSiteUserAsync (this Microsoft.Azure.Management.WebSites.IStaticSitesOperations operations, string resourceGroupName, string name, string authprovider, string userid, Microsoft.Azure.Management.WebSites.Models.StaticSiteUserARMResource staticSiteUserEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member UpdateStaticSiteUserAsync : Microsoft.Azure.Management.WebSites.IStaticSitesOperations * string * string * string * string * Microsoft.Azure.Management.WebSites.Models.StaticSiteUserARMResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.StaticSiteUserARMResource>
<Extension()>
Public Function UpdateStaticSiteUserAsync (operations As IStaticSitesOperations, resourceGroupName As String, name As String, authprovider As String, userid As String, staticSiteUserEnvelope As StaticSiteUserARMResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StaticSiteUserARMResource)

Parameters

operations
IStaticSitesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the static site.

authprovider
String

The auth provider for this user.

userid
String

The user id of the user.

staticSiteUserEnvelope
StaticSiteUserARMResource

A JSON representation of the StaticSiteUser properties. See example.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Updates a user entry with the listed roles

Applies to