CheckQrySecurity method: UTILITY class
Syntax
CheckQrySecurity(QryName, IsPublicObject)
Description
Use this method to check user access security for a single query. CheckQrySecurity performs the following checks:
-
Whether the query is public for public connected queries (IsPublicObject is True).
-
Whether the query is disabled.
-
Whether the query has tree prompts by invoking CheckQryForTreePrompt.
-
Whether there are query prompt security violations.
Parameters
| Parameter | Description |
|---|---|
|
QryName |
Specifies the query name as a string. |
|
IsPublicObject |
Specifies a Boolean value indicating whether the connected query is public. |
Returns
A Boolean value: True if the security validation was successful, False otherwise.