IceWarpServer.TokenObject
ITokenObjectDisp = dispinterface
['{4BF40970-D018-430C-A7B4-6D141F14102F}']
property URL: WideString dispid 201;
property TokenHandle: Integer readonly dispid 202;
property Counter: Integer readonly dispid 203;
end;
The token object lets you run API using RPC (Remote Procedure Calls) and connect to any
remote server over the internet and use the API.
Before using any other class create the token object and set the URL to format:
administrator ":" password "@" server
Then retrieve the TokenHandle.
Each class of the API has also the TokenHandle. Set the retrieved TokenHandle to any API class so it will use the RPC. It is easy as that.
List of variables that can be retrieved remotely
U_RulesContentXML
U_ResponderContent
U_MailboxSize
U_MailboxQuota
D_IPAddress
D_RulesContentXML
C_TimeZone
C_AS_Info_UpdateDate
C_AS_Info_UpdateVersion
C_AS_Info_UpdateSize
C_AS_Info_BayesWords
C_AS_Info_BayesSpamMessages
C_AS_Info_BayesGenuineMessages
C_AS_Info_EngineVersion
C_AV_Info_UpdateDate
C_AV_Info_UpdateSize
C_AV_Info_UpdateVersion
C_License
Note: If you call any other API variable remotely, only the local value is returned.