The Exists() function of the sySecurityRole form verifies whether the specified security role exists in Microsoft Dynamics GP.
Exists(role_ID)
• role_ID – A string specifying the ID of the security role.
A boolean. The value true indicates the security role exists, while the value false indicates it does not.