Ryan_Chynoweth
Databricks Employee
Databricks Employee

Databricks includes two user functions that allow you to express column- and row-level permissions dynamically in the body of a view definition.

  • current_user(): return the current user name.
  • is_member(): determine if the current user is a member of a specific Databricks group.

Read more about our dynamic view capabilities here.

View solution in original post