QPR Knowledge Base

LogOff

Hide Navigation Pane

LogOff

Previous topic Next topic No expanding text in this topic  

LogOff

Previous topic Next topic JavaScript is required for expanding text Mail us feedback on this topic!  

Comments (...)

Revision history:

Introduced in QPR 8.0

 

Logs out an authenticated session, the ID of which is provided as a parameter for the function call.

 

Synopsis:

 

void LogOff(string sessionId)

 

Return Value:

 

None.

 

Parameters:

 

sessionId: String. ID of a previously authenticated session.

 

Example Procedure:

 

ServiceClient client = new ServiceClient("WSHttpBinding_IService");

string sessionId = client.Authenticate("qpr", "demo");

string xmlElement = client.QueryObjectsAsXml(sessionId, "[SC.1].SubObjects", "", "", "", "");

client.LogOff(sessionId);

client.Close();

Comments (...)