HP BL680c XenEnterprise Management API - Page 21
Class: session
UPC - 884420396314
View all HP BL680c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 21 highlights
2.4. CLASS: SESSION CHAPTER 2. API REFERENCE 2.4 Class: session 2.4.1 Fields for class: session Name Description Quals RO run RO run RO run RO run RO run RW session A session. Field uuid this host this user last active pool other config Type string host ref user ref datetime bool (string → string) Map Description unique identifier/object reference Currently connected host Currently connected user Timestamp for last time session was active True if this session relates to a intrapool login, false otherwise additional configuration 2.4.2 RPCs associated with class: session RPC name: login with password Overview: Attempt to authenticate the user, returning a session reference if successful. Signature: (session ref) login_with_password (string uname, string pwd, string version) Arguments: type string string string name uname pwd version description Username for login. Password for login. Client API version. Return Type: session ref reference of newly created session Possible Error Codes: SESSION AUTHENTICATION FAILED RPC name: logout Overview: Log out of a session. Signature: void logout (session_id s) Return Type: void RPC name: change password Overview: Change the account password; if your session is authenticated with root priviledges then the old pwd is validated and the new pwd is set regardless. Signature: 21