Exemplo n.º 1
0
    private void AgreeToEula(string username)
    {
        var fullname = (string)PXContext.Session["EulaRequired"];

        if (username == "admin" && !string.IsNullOrEmpty(fullname))
        {
            PXLogin.AgreeToEula(fullname);
        }
    }