snowflake.snowpark.functions.all_user_names

snowflake.snowpark.functions.all_user_names() Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.39.0/src/snowflake/snowpark/_functions/scalar_functions.py#L19-L31)

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)
Copy
语言: 中文