Table of Contents

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 string

The name of the Server User.

cancellationToken CancellationToken

A token that can be used to request cancellation of the operation.

Returns

Task<ServerUser>

The ServerUser configuration, or null if not found.