Click or drag to resize

SolidFireElementDeleteAuthSessionsByUsernameAsync Method (CancellationToken, String, String)

Deletes all auth sessions for the given user. A caller not in AccessGroup ClusterAdmins / Administrator may only delete their own sessions. A caller with ClusterAdmins / Administrator privileges may delete sessions belonging to any user. To see the list of sessions that could be deleted, use ListAuthSessionsByUsername with the same parameters.

Namespace:  SolidFire.Element.Api
Assembly:  SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax
C#
public Task<DeleteAuthSessionsResult> DeleteAuthSessionsByUsernameAsync(
	CancellationToken cancellationToken,
	string Username = null,
	string AuthMethod = null
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
Username (Optional)
Type: SystemString
AuthMethod (Optional)
Type: SystemString

Return Value

Type: TaskDeleteAuthSessionsResult

Implements

ISolidFireElementDeleteAuthSessionsByUsernameAsync(CancellationToken, String, String)
See Also