snowflake.snowpark.functions.current_organization_user¶
- snowflake.snowpark.functions.current_organization_user() Column [source]¶
Returns the name of the organization user currently logged into the system.
Example
>>> result = session.create_dataframe([1]).select(current_organization_user().alias('RESULT')).collect() >>> assert result[0]['RESULT'] == None