ISolidFireElementListAuthSessionsByUsernameAsync Method (CancellationToken, String, String) |
Lists all auth sessions for the given user.
A caller not in AccessGroup ClusterAdmins / Administrator privileges may only list their own sessions.
A caller with ClusterAdmins / Administrator privileges may list sessions belonging to any user.
Namespace:
SolidFire.Element.Api
Assembly:
SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax Task<ListAuthSessionsResult> ListAuthSessionsByUsernameAsync(
CancellationToken cancellationToken,
string Username = null,
string AuthMethod = null
)
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
- Username (Optional)
- Type: SystemString
- AuthMethod (Optional)
- Type: SystemString
Return Value
Type:
TaskListAuthSessionsResultSee Also