{"type":"api","title":"Get user from the local authentication store","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/21eb1d117a633ad17a20da730c09f519133958a8/c92e7384-b2f4-3d3b-8e8e-03a9325b07bb","info":{"title":"Crosswork RBAC API - Version 1","description":"Crosswork Role-based Access Control APIs","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"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"}},"openapi":"3.0.1","servers":[{"url":"https://{cw_ip}:30603/crosswork/aaa/v1"}],"securitySchemes":{"bearerAuth":{"type":"apiKey","description":"Use a bearer token to authenticate requests. Include the token in the Authorization header with the prefix 'Bearer '.","name":"Authorization","in":"header"}}},"spec":{"tags":["rbac"],"summary":"Get user from the local authentication store.","operationId":"GetUser","parameters":[{"name":"Username","in":"path","description":"ID of the user being updated","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK. The request was successful. The result is contained in the response body.","content":{"application/json":{"schema":{"title":"User represents a user account created on a local authentication store.","type":"object","properties":{"Username":{"type":"string","description":"The unique username for the account."},"Password":{"type":"string","description":"The password for the user account. This field should be securely handled (e.g., hashed, not stored in plain text)."},"PolicyId":{"type":"string","description":"The ID of the RBAC policy or role assigned to this user, dictating their permissions and access rights."},"FirstName":{"type":"string","description":"The first name of the user."},"LastName":{"type":"string","description":"The last name of the user."},"Status":{"type":"string","description":"The current status of the user account."},"DeviceAccessGroups":{"type":"array","items":{"title":"Device Access Groups are defined parts of the network, so that user access can be limited to the parts they are assigned.","type":"object","properties":{"Uuid":{"type":"string","description":"The unique identifier (UUID) of the device access group."},"DomainName":{"type":"string","description":"The human-readable name of the domain, tenant, or network partition represented by this access group."},"Description":{"type":"string","description":"An optional descriptive text explaining the purpose or scope of this device access group."}},"$$ref":"#/components/schemas/rbacDeviceAccessGroup"}}},"example":{"Username":{"type":"string"},"Password":{"type":"string"},"PolicyId":{"type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"Status":{"type":"string"},"DeviceAccessGroups":{"type":"array","items":{"title":"Device Access Groups are defined parts of the network, so that user access can be limited to the parts they are assigned.","type":"object","properties":{"Uuid":{"type":"string","description":"The unique identifier (UUID) of the device access group."},"DomainName":{"type":"string","description":"The human-readable name of the domain, tenant, or network partition represented by this access group."},"Description":{"type":"string","description":"An optional descriptive text explaining the purpose or scope of this device access group."}},"$$ref":"#/components/schemas/rbacDeviceAccessGroup"}}},"$$ref":"#/components/schemas/rbacUser"}}}},"403":{"description":"Forbidden. The server recognizes the authentication credentials, but the client is not authorized to perform this request.","content":{}},"500":{"description":"Internal Server Error. The server could not fulfill the request.","content":{}}},"__originalOperationId":"GetUser","security":[{"bearerAuth":[]}],"method":"get","path":"/user/{Username}"}}