public void ReInitialize(string agentID, string password, string location, string queue) { var authenticationResult = CredentialsProvider.ReSetCredentials(agentID, password, location, queue); Logger.Logger.Log.Info("Inside ReInitialize() authenticationResult.AgentCredentials.Name :->" + authenticationResult.AgentCredentials.Name); Logger.Logger.Log.Info("Inside ReInitialize() authenticationResult.AgentCredentials.Password :->" + authenticationResult.AgentCredentials.Password); Logger.Logger.Log.Info("Inside ReInitialize() authenticationResult.AgentCredentials.Id :->" + authenticationResult.AgentCredentials.Id); Logger.Logger.Log.Info("Inside ReInitialize() authenticationResult.AgentCredentials.AgentID :->" + authenticationResult.AgentCredentials.AgentID); Credentials = authenticationResult.AgentCredentials; ScreenPop = ((CtiServiceAgent)Agent).InteractionManager.AgentScreenPop; Device.Address = authenticationResult.LocationInfo.DeviceAddress; ((CtiServiceAgent)Agent).Name = "Guest"; }