cancel
Showing results for 
Search instead for 
Did you mean: 
Security Alert Log4j Security Vulnerability. Click here to know more.
cancel
Showing results for 
Search instead for 
Did you mean: 

user variable

doug1
1-Newbie

user variable

To the group, I thought this would be an easy question, but I can not seem
to find it. I want in ACL to use the user's name as a variable. Is there
such an animal?

Douglas
1 REPLY 1
lynn
1-Newbie
(To:doug1)

Douglas,

Yes there is a way to do it though I don't have the command right at my
finger tips. In Epic Help, there is a function ENV or $ENV followed by
brackets. You can put the 'username' in there and assign this to a
variable. I think the string is something like this

user=$main::ENV[username]

This is one of those string that is case and punctuation sensitive, so in
the help file, look for ENV in the list then follow the instructions there.
I even think they give an example. I'm travailing this week so when I get
to the hotel and unpack the laptop, I'll verify the syntax if no one else
has posted a response.

If you find the answer and don't want to post back to Adepters, drop me a
note at the address I mailed this from.

Lynn
Announcements