Method GetServerUserAsync
- Namespace
- Kepware.Api.ClientHandler
- Assembly
- Kepware.Api.dll
GetServerUserAsync(string, CancellationToken)
Retrieves a Server User configuration asynchronously.
public Task<ServerUser?> GetServerUserAsync(string name, CancellationToken cancellationToken = default)
Parameters
name
stringThe name of the Server User.
cancellationToken
CancellationTokenA token that can be used to request cancellation of the operation.
Returns
- Task<ServerUser>
The ServerUser configuration, or null if not found.