--- title: "isPrep" slug: "user-isprep" updated: 2025-11-06T18:54:58Z published: 2025-11-06T18:54:58Z canonical: "docs.doc-know.com/user-isprep" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.doc-know.com/llms.txt > Use this file to discover all available pages before exploring further. # isPrep ### user.isPrep Type: **Boolean** Returns whether or not the current user has the **prep** role. ### Examples ``` // check to see if user has 'prep' role if (user.isPrep) debug.log("User has prep role."); ``` ### Remarks Definition A **role** is a security term that refers to a type of user and the set of permissions they have. You can use this information within your scripts to deliver role-specific features and user experience enhancements.