File: UserSession.rst

package info (click to toggle)
python-pyvmomi 6.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,980 kB
  • sloc: python: 9,206; xml: 77; makefile: 9
file content (50 lines) | stat: -rw-r--r-- 1,493 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.. _str: https://docs.python.org/2/library/stdtypes.html

.. _bool: https://docs.python.org/2/library/stdtypes.html

.. _long: https://docs.python.org/2/library/stdtypes.html

.. _datetime: https://docs.python.org/2/library/stdtypes.html

.. _vmodl.DynamicData: ../vmodl/DynamicData.rst


vim.UserSession
===============
  Information about a current user session.
:extends: vmodl.DynamicData_

Attributes:
    key (`str`_):

       A unique identifier for this session, also known as the session ID.
    userName (`str`_):

       The user name represented by this session.
    fullName (`str`_):

       The full name of the user, if available.
    loginTime (`datetime`_):

       Timestamp when the user last logged on to the server.
    lastActiveTime (`datetime`_):

       Timestamp when the user last executed a command.
    locale (`str`_):

       The locale for the session used for data formatting and preferred for messages.
    messageLocale (`str`_):

       The locale used for messages for the session. If there are no localized messages for the user-specified locale, then the server determines this locale.
    extensionSession (`bool`_):

       Whether or not this session belongs to a VC Extension.
    ipAddress (`str`_):

       The client identity. It could be IP address, or pipe name depended on client binding
    userAgent (`str`_):

       The name of user agent or application
    callCount (`long`_):

       Number of API invocations since the session started