{"type":"api","title":"Get all active user sessions","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/c92e7384-b2f4-3d3b-8e8e-03a9325b07bb","info":{"title":"Crosswork RBAC API - Version 1","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"description":"Crosswork Role-based Access Control APIs","license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"1.0.0"},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/RBAC/rbac-v1-overview.md"}},"swagger":"2.0","basePath":"/crosswork/aaa/v1","schemes":["https"],"securityDefinitions":{"bearerAuth":{"type":"apiKey","name":"Authorization","in":"header","description":"Use a bearer token to authenticate requests. Include the token in the Authorization header with the prefix 'Bearer '."}}},"spec":{"summary":"Get all active user sessions","description":"Get all active user sessions informations .","operationId":"GetActiveSessions","responses":{"200":{"description":"OK. The request was successful. The result is contained in the response body.","schema":{"type":"array","items":{"type":"object","properties":{"UserName":{"type":"string","description":"The unique identifier or name of the user associated with this active session."},"LoginTime":{"type":"string","description":"The timestamp when the user logged in and this session was created."},"LoginMethod":{"type":"string","description":"The authentication method used to establish this session (e.g., 'Local', 'LDAP', 'TACACS+', 'SAML')."},"TgtId":{"type":"string","description":"The Ticket Granting Ticket (TGT) ID or session token that uniquely identifies this active session."},"ClientIp":{"type":"string","description":"The IP address of the client device from which the user logged in."}},"$$ref":"#/definitions/rbacActiveSession"},"example":[{"UserName":"user1","LoginTime":"2023-04-20T11:50:08.878225Z","LoginMethod":"Local","TgtId":"DGH-5-Gyrs-9qYMmFKMc90rXiHDrHi1yweecSPiL1zIQzwthzBRXwbwDTimTdr3CiGhyy0698-cas-1","ClientIp":"10.35.44.47"}],"title":"ActiveSession Response","$$ref":"#/definitions/rbacActiveSessions"}},"403":{"description":"Forbidden. The server recognizes the authentication credentials, but the client is not authorized to perform this request."},"500":{"description":"Internal Server Error. The server could not fulfill the request."}},"tags":["rbac"],"__originalOperationId":"GetActiveSessions","consumes":["application/json"],"produces":["application/json"],"security":[{"bearerAuth":[]}],"method":"get","path":"/activeSessions"}}