ITravelInterfaceManageSatellites Method |
This will show the Generate satellite dialog as long as the associate/user logged in to the database has permission to see it (User level 0).
This dialog is used to generate and regenerate satellites.
CanManageSatellites is called before this function, and if CanManageSatellites returns False, this function will not be performed. Only associates with user level 0 in the central database may manage satellites.
Namespace: SuperOffice.COM.SuperOfficeDB
ManageSatellites
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
Dim objSO Dim objTI Set objSO = CreateObject("SuperOffice.Application") If not (objSO is nothing) Then Set objTI = objSO.Database.TravelInterface If objTI.ManageArea Then 'The Generate satellite dialog will be shown in GUI MsgBox "User may generate satellites." Else MsgBox "The logged in user might not have the correct permissions. Check log file for error message." End If Else MsgBox "Could not log in" End If Set objSO = Nothing