Therefore API > API Reference > Classes > TheServer > Methods
HasPermission
Checks if a user has specific permissions.
Name
Description
HasPermission (TheObjectType, long, long, ITheRoleAccessMask)
Checks if the currently logged on user has the specified permission(s) for the specified object.
HasPermission (String, String, TheObjectType, long, long, ITheRoleAccessMask)
Checks if a specific user has the specified permission(s) for the specified object.
Please check the help pages of the various overloads for the exact syntax in Visual Basic and C#.