Click or drag to resize

SolidFireElement.DeleteAuthSessionsByUsernameAsync 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.Threading.CancellationToken
Username (Optional)
Type: System.String
AuthMethod (Optional)
Type: System.String

Return Value

Type: Task<DeleteAuthSessionsResult>

Implements

ISolidFireElement.DeleteAuthSessionsByUsernameAsync(CancellationToken, String, String)
See Also