Service Desk Practitioners Forum
cancel

How I can capture SamAccountname?

SOLVED
Go to solution
Highlighted
Oscar U Diaz
Respected Contributor.

How I can capture SamAccountname?

Hello,
I need to capture the login name of windows (I believe this attribute is called samaccountname) of the account that is active on the pc, to be included in the Service Call.

Somebody knows a way to capture this information?

Thanks
3 REPLIES
George M. Meneg
Acclaimed Contributor.

Re: How I can capture SamAccountname?

Hello Oscar,

It is the OVSD variable %user.name%

You can use it on UI/DB rules
menes fhtagn
George M. Meneg
Acclaimed Contributor.
Solution

Re: How I can capture SamAccountname?

This is the list of all variables that can be used in UI/DB rules:

applicationserver: $APPLICATIONSERVER$
applicationserverport: $APPLICATIONSERVERPORT$
hostname: $HOSTNAME$
ipaddress: $IPADDRESS$
accountname: $ACCOUNTNAME$
itemtype: $ITEMTYPE$
datafolder: $DATAFOLDER$
productfolder: $PRODUCTFOLDER$
time: $TIME$
date: $DATE$
datetime: $DATETIME$
dd: $DD$
mm: $MM$
yyyy: $YYYY$
hh: $HH$
mi: $MI$
ss: $SS$
d: $D$
ww: $WW$
z: $Z$
zz: $ZZ$
java.vendor.url: %java.vendor.url%
user.name: %user.name%
java.class.version: %java.class.version%
user.region: %user.region%
com.ms.net.wininet.trustProxy: %com.ms.net.wininet.trustProxy%
file.separator: %file.separator%
os.name: %os.name%
os.version: %os.version%
com.ms.net.proxyBypassList: %com.ms.net.proxyBypassList%
line.separator: %line.separator%
http.agent: %http.agent%
user.home: %user.home%
awt.appletWarning: %user.home%
http.proxyPort: %http.proxyPort%
com.ms.windir: %com.ms.windir%
path.separator: %path.separator%
file.encoding.pkg: %file.encoding.pkg%
awt.toolkit: %awt.toolkit%
com.ms.locale.variant: %com.ms.locale.variant%
user.timezone: %user.timezone%
os.arch: %os.arch%
file.encoding: %file.encoding%
http.proxyHost: %http.proxyHost%
browser: %browser%
com.ms.net.trustProxy: %com.ms.net.trustProxy%
firewallPort: %firewallPort%
java.version: %java.version%
firewallSet: %firewallSet%
com.ms.applet.enable.serversockets: %com.ms.applet.enable.serversockets%
java.class.path: %java.class.path%
firewallHost: %firewallHost%
com.ms.sysdir: %com.ms.sysdir%
user.language: %user.language%
user.dir: %user.dir%
JAVA.home: %JAVA.home%
ALLUSERSPROFILE: %ALLUSERSPROFILE%
ANT_HOME: %ANT_HOME%
APPDATA: %APPDATA%
CLEARCASE_PRIMARY_GROUP: %CLEARCASE_PRIMARY_GROUP%
CommonProgramFiles: %CommonProgramFiles%
COMPUTERNAME: %COMPUTERNAME%
ComSpec: %ComSpec%
HOME: %HOME%
INFONET: %INFONET%
JAVA_HOME: %JAVA_HOME%
LOGONSERVER: %LOGONSERVER%
NUMBER_OF_PROCESSORS: %NUMBER_OF_PROCESSORS%
OS: %OS%
Os2LibPath: %Os2LibPath%
Path: %Path%
PATHEXT: %PATHEXT%
PROCESSOR_ARCHITECTURE: %PROCESSOR_ARCHITECTURE%
PROCESSOR_IDENTIFIER: %PROCESSOR_IDENTIFIER%
PROCESSOR_LEVEL: %PROCESSOR_LEVEL%
PROCESSOR_REVISION: %PROCESSOR_REVISION%
ProgramFiles: %ProgramFiles%
PROMPT: %PROMPT%
ROOTDIR: %ROOTDIR%
SD_CLIENTHOME: %SD_CLIENTHOME%
SHELL: %SHELL%
SystemDrive: %SystemDrive%
SystemRoot: %SystemRoot%
TEMP: %TEMP%
TMP: %TMP%
TMPDIR: %TMPDIR%
USERDOMAIN: %USERDOMAIN%
USERNAME: %USERNAME%
USERPROFILE: %USERPROFILE%
windir: %windir%
WV_GATEWAY_CFG: %WV_GATEWAY_CFG%
menes fhtagn
Oscar U Diaz
Respected Contributor.

Re: How I can capture SamAccountname?

Hi George,

Thanks again for this information, as always your contributions are very interesting and very helpful.

Thanks