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
userGroup
ServerUserGroupThe ServerUserGroup to create or update.
cancellationToken
CancellationTokenA token that can be used to request cancellation of the operation.
Returns
Exceptions
- ArgumentException
Thrown if the
userGroup
has no name specified.