snowflake.snowpark.Session.get_current_user

Session.get_current_user() Optional[str][source] (https://github.com/snowflakedb/snowpark-python/blob/v1.25.0/snowpark-python/src/snowflake/snowpark/session.py#L3141-L3146)

Returns the name of the user in the connection to Snowflake attached to this session.

语言: 中文