GetAuthenticatedAgent
From The Contingency Market
Contents |
GetAuthenticatedAgent(ulSessionID,uSequenceID,sIntegrity)
Gets the currently authenticated agent's record.
PARAMETERS
-
ulong ulSessionID - ID of authenticated session.
-
uint uSequenceID - Sequence number.
-
string sIntegrity -
md5("ipaddr(sid,seq)->GetAuthenticatedAgent()/secret").
RETURNS
{sID,sDisplayName,sRegistered,sPublicDetails,uVerificationLevel,sPrivateDetails}
-
string sID - 32 digit hex representing Agent's globally unique id.
-
string sDisplayName - Agent's display name.
-
string sRegistered - yyyy-mm-dd HH:mm:ss (date Agent registered).
-
string sPublicDetails - PHP assoc array (list of name/value pairs) of miscellaneous Agent info.
-
string uVerificationLevel - 0 if unverified, 1 if agent's e-mail verified.
-
string sPrivateDetails - PHP assoc array (list of name/value pairs) of private Agent info.
FAULTS
Session.
TEST
GetAuthenticatedAgent() according to the respective template currently returns CMWebAdmin.

