CreateTicket method

Creates an authentication ticket for use in account recovery, split registration, or for some custom purpose.

Tickets can be used to create a URL that will automatically grant access to an eRoom (one time only) without a password. Note that for security reasons, great care should be taken when using tickets.  See Using Tickets for security concerns.

Syntax


C++
HRESULT CreateTicket (
   LONG MemberID,
   BSTR URL,
   LONG Expiration,
   IERUTicket** ppTicket)
Scripting languages
Set Ticket = Object.CreateTicket (
   MemberID as Long,
   URL as String,
   Expiration as Long)

Parameters


MemberID

The member ID of the user that will be granted access when following the ticket.

URL

The target URL associated with the ticket.

Expiration

The number of seconds before the ticket expires.

ppTicket

Upon return, an IERUTicket interface pointer to the newly-created ticket.

Return value


C++

The return code.

Scripting languages

An IERUTicket interface pointer to the newly-created ticket.

Home

Interface

IERUTicketManager

See also
Using Tickets