|
of_setsecurity
|
|
Full name
|
n_cst_appmanager.of_setsecurity
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setsecurity(boolean)
|
public function integer of_setsecurity (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetSecurity
//
// Access: public
//
// Arguments:
// ab_Switch True - start (create) the Visual Guard Manager.
// False - stop (destroy) the Visual Guard Manager.
//
// Returns: Integer
// 1 - Successful operation.
// 0 - No action taken.
// -1 - An error was encountered.
//
// Description: Starts or stops the Visual Guard Security service
// Subject: VISUAL_GUARD
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 1.0.00 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © Novalys
//
//////////////////////////////////////////////////////////////////////////////
//Check arguments
If IsNull(ab_switch) Then
Return -1
End if
IF ab_Switch THEN
IF IsNull(inv_vgsecurity) Or Not IsValid (inv_vgsecurity) THEN
inv_vgsecurity = CREATE vge_n_cst_vgmanager
Return 1
END IF
ELSE
IF IsValid (inv_vgsecurity) THEN
DESTROY inv_vgsecurity
Return 1
END IF
END IF
Return 0
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.isvalid |
systemfunctions
|