GetValidSystemPassword()

Examples


The GetValidSystemPassword() function prompts the current user to enter the system password defined when Microsoft Dynamics GP was installed. The value true or false is returned, depending on whether the correct password was supplied.

Syntax

GetValidSystemPassword()

Parameters

• None

Return value

A boolean. The value true indicates the correct system password was supplied, while false indicates that it was not.

Comments

Carefully consider where you place the GetValidSystemPassword() function to control access. For example, when restricting access for a form, place the function in the form pre script. This ensures that the restriction code is run, regardless of how the form is opened.


Documentation Feedback