ScheduleSetAccessSecurity()
- Last UpdatedAug 25, 2016
- 1 minute read
This method lists a modeless security dialog box if the Access Schedule security function is defined in the Security Editor. After a user enters his security information, the OnSecurityPending event is called. In this event, a batch scheduling application can determine if the user is allowed to perform the batch scheduling functions. Using this technique, the user does not need to be prompted for security every time he wants to perform a scheduling function. The return code is a Short integer value that can be used for error handling.
For more information on the error codes returned, see "Error Return Values" on page 232.
Syntax
ReturnCode = OcxBatchVar.ScheduleSetAccessSecurity ()