Home > Development
  Developer Reference

   Home : Developer Reference

1 2 3 4 5 6 7 8 9 10

Command sqSpec
Syntax:
http://www.afteroffice.com/sqSpec.user.mms?sid=SIDxxxxxxxx&fld=
name,fullname,host&format=url
Parameters:
sid: The SID of the active user.
fld (optional): The fields list that DA would like to obtain data from.
It is a comma separated field name list. Omitting this parameter get
a standard data set.
format (optional): Return data format, see Return.
Use:This command fetch the user specification file (sometimes refer
as profile) form AOS. The SID must be specified in the URL, or AOS
simply returns "false" as result.
Specify "fld" if you wish to fetch certain fields data from AOS. The list
of fields is available with this paper. AOS will not verify the
availability of the field (no error return if the field is not exists). Refer
to User specification table for full list of the field available.
By default (omit use of this parameter), AOS returns the following
fields:-
name,host,group,fullname,apprBody,apprFSize,timezone,language
Return:
A plain text content will be return if the SID is valid.
If the "format" parameter is omitted, the return data will be raw
text, field separated by a Unix Carriage Return (ASCII 10). Eg:
myname
afteroffice.net
My Full Name
...
Note that the field name is not provided in this case. DA should
extract the data based on the default field order, or the field order
specified in the "fld" parameter. If the data contains a Carriage
Return, AOS encode it to "\r". Is it sometime necessary to map "\r"
back to Carriage Return with curtains fields.
If the "format" parameter is "URL", the return data will be formatted
to field=data set. Data will be encoded to URL compatible, eg:
name=myname&host=afteroffice.net&fullname=My%20Full%20Nam
e ...
Return "false" if SID not specify or expired (user logout).
See also: sqVry

Command sqVry
Syntax: