Method CreateOrUpdateServerUserGroupAsync
- Namespace
- Kepware.Api.ClientHandler
- Assembly
- Kepware.Api.dll
CreateOrUpdateServerUserGroupAsync(ServerUserGroup, CancellationToken)
Creates a new Server User Group or updates an existing one.
public Task<bool> CreateOrUpdateServerUserGroupAsync(ServerUserGroup userGroup, CancellationToken cancellationToken = default)
Parameters
userGroupServerUserGroupThe ServerUserGroup to create or update.
cancellationTokenCancellationTokenA token that can be used to request cancellation of the operation.
Returns
Exceptions
- ArgumentException
Thrown if the
userGrouphas no name specified.