T
Thomas Karer
Hi!
I am working hard to get a login script up and running with the "real
username".
The %username% ist the login name and i need the active directory "display
name".
with the following:
dsquery user domainroot -samid %username%|dsget user -display -q -l
i got this result:
display: Thomas Karer
dsget war erfolgreich
i need only the text "Thomas Karer" for my login script.
Does anybody know how to "filter" the output for the "Thomas Karer" an put
this in an variable (%displayname%)
many many thanks.
tom
I am working hard to get a login script up and running with the "real
username".
The %username% ist the login name and i need the active directory "display
name".
with the following:
dsquery user domainroot -samid %username%|dsget user -display -q -l
i got this result:
display: Thomas Karer
dsget war erfolgreich
i need only the text "Thomas Karer" for my login script.
Does anybody know how to "filter" the output for the "Thomas Karer" an put
this in an variable (%displayname%)
many many thanks.
tom