StaticSiteResource.UpdateUser 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET