snowflake.snowpark.functions.all_user_names¶
- snowflake.snowpark.functions.all_user_names() Column[source]¶
Returns a list of all user names in the current account.
Example:
>>> # Return result is tied to session, so we only test if the result exists >>> result = session.create_dataframe([1]).select(all_user_names()).collect() >>> assert result[0]['ALL_USER_NAMES()'] is not None >>> assert isinstance(result[0]['ALL_USER_NAMES()'], str)