Type string READONLY
dayname contains the abbreviated name ("Mon", "Tue, "Wed", "Thu", "Fri", "Sat" or "Sun") of the day the request was submitted.
switch (dayname) { case "Mon": case "Wed": case "Fri": adminusers = {"dan","robyn"}; break; case "Tue": case "Thu": adminusers = {"robyn","cory"}; break; default: adminusers = {}; } if (user in adminusers) { runuser = "root"; accept; }
Type string READONLY
The Active Directory domain name for the submit user if Authentication Services is configured and the client is able to determine the domain name. Otherwise this variable is set to an empty string.
# reject if the user is not in the uxwheel AD group if (vas_user_is_member(samaccount, "uxwheel", domainname) == false) reject "user is not in uxwheel group";
Type list READONLY
env contains the list of environment variables configured in the environment where the submit user submitted the request.
index=search(env, "APPL_HOME"); if (index > -1) { aval=env[index]; if (dirname(aval ) != "/usr") { printf("You are not permitted to run this application from:%s\n", dirname(aval)); } }
Type integer READONLY
false contains the constant value 0.
adminusers = {"dan","robyn","cory"}; if ((user in adminusers) == false) reject;
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Nutzungsbedingungen Datenschutz Cookie Preference Center