ValidateTicket method

Validates an eRoom authentication ticket and creates an eRoom session. The session is only created if the ticket is valid. Tickets are for one-time use and are canceled as soon as they are validated. Use GetSessionValue() to get name/value pairs that were added to the IERUTicket via SetValue().

Syntax


C++
HRESULT ValidateTicket (
   BSTR TicketKey,
   VARIANT* URL
   
IERUSession** ppSession)
Scripting languages
Set ValidateTicket = Object.ValidateTicket (
   TicketKey as String,
   
URL as Variant)

Parameters


TicketKey

The ticket to validate.

URL

Upon return, the URL associated with the ticket.

ppSession

Upon return, the session that was created, as an IERUSession interface.

Return value


C++

The return code.

Scripting languages

Upon return, the session that was created, as an IERUSession interface.

Home

Interface

IERUTicketManager