-
-
Notifications
You must be signed in to change notification settings - Fork 2
incendium.user.get_user
César Román edited this page Apr 30, 2024
·
10 revisions
Looks up the logged-in User in a User Source.
Args:
- user_source (
str
): The name of the User Source. - failover (
str
): The name of the Failover Source. Optional.
Returns:
-
IncendiumUser
: An IncendiumUser object.
None.
Client Startup Script
from incendium import user as _user
from incendium import util as _util
# Set Locale
current_user = _user.get_user("User Source", "Failover Source")
_util.set_locale(current_user)