The IsLoggedIn property returns true if the embed client has an authenticated user.

pyramidEmbedApi.isLoggedIn: boolean
  • Use this property to check if the embed cookie has a valid authentication token.


The following initializes a new embed client for the target instance of Pyramid. The property returns "TRUE" if authenticated, otherwise "FALSE";

var client = new pyramidEmbedClient(""); client.init("john","ab123!"); var check= client.isLoggedIn;