omni::connect::core::getUser
Defined in omni/connect/core/Core.h
-
std::string omni::connect::core::getUser(const std::string &uri)
Determine the current username on a given Omniverse server.
If the URI points to a valid Omniverse server, it will be queried to find the associated username. If the server connection cannot be established, an empty string will be returned. This does not indicate whether the server exists, just that no connection was made. If the URI is a local file the OS username will be returned.
- Returns
The current username.