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: 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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET