Programmer's Guide > Interfaces > CMSSessionDisconnectEvent interface > initCMSSessionDisconnectEvent method
  
initCMSSessionDisconnectEvent method
Initializes the value of an CMSSessionDisconnectEvent created through the CMSSessionDisconnectEvent interface. This method should only be called before the CMSSessionDisconnectEvent has been dispatched using the dispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.
initCMSSessionDisconnectEvent(typeArg, canBubbleArg, cancelableArg, currentUser )
Parameters
StringtypeArg
Specifies the event type.
booleancanBubbleArg
Specifies whether or not the event can bubble.
booleancancelableArg
Specifies whether or not the event's default action can be prevented.
StringcurrentUser
Currently logged on user's name.
Returns
void