Loading...

vastorbit.username

vastorbit.username() str

Returns the current DB username.

Returns:

Username.

Return type:

str

Examples

Displays the current DB user name:

from vastorbit.sql import username

username()

Note

The username can be important for determining privileges.

See also

current_session() : current DB session.
has_privileges() : checks user privileges.