Description
Type string READONLY
date contains the date the request was submitted in the form: YYYY/MM/DD.
Example
if (pmshell) { # prints the date and time the shell was opened print( command + " started " + date + " "+ time ); accept; }
Type string READONLY
date contains the date the request was submitted in the form: YYYY/MM/DD.
if (pmshell) { # prints the date and time the shell was opened print( command + " started " + date + " "+ time ); accept; }
Type integer READONLY
day contains the day the request was submitted formatted as an integer in the range: 1–31.
if (command == "dailyadmin") { if (day == 1) { # first day of the month runcommand = "" } }
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";
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center