Platform SDK: Agent

IAgentCharacterEx::GetGUID

HRESULT GetGUID(
   BSTR * pbszGUID  // address of character's ID
);

Retrieves the unique ID for the character.

pbszGUID
Address of a BSTR that receives the ID for the character.

The property returns a string representation of the GUID (formatted with braces and dashes) that the server uses to uniquely identify the character. A character identifier is set when it is compiled with the Microsoft Agent Character Editor. The property is read-only.