Example #1
0
 /// <summary>
 /// Updates publishing user
 /// </summary>
 /// <remarks>
 /// Updates publishing user
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='userDetails'>
 /// Details of publishing user
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <User> UpdatePublishingUserAsync(this IWebSiteManagementClient operations, User userDetails, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.UpdatePublishingUserWithHttpMessagesAsync(userDetails, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }