A way to "grab" the current Project Server NT Account?

A

andy.novak

I've got some code that I use to obtain the current WINDOWS account
(current operator). However, the current Windows login may not be the
current Project Server user if they enter their credentials directly
via MS Project.
If it exists, how does one obtain the current Project Server NT
Account within VBA?

Thanks,
Andy Novak
UNT
 
R

Rod Gill

I think your only out of the box solutions are:

profiles.ActiveProfile.UserName

Username

Try both in the immediate window and see what you get and let us know what
results you get.

--

Rod Gill
Microsoft MVP for Project - http://www.project-systems.co.nz

Author of the only book on Project VBA, see: http://www.projectvbabook.com




I've got some code that I use to obtain the current WINDOWS account
(current operator). However, the current Windows login may not be the
current Project Server user if they enter their credentials directly
via MS Project.
If it exists, how does one obtain the current Project Server NT
Account within VBA?

Thanks,
Andy Novak
UNT

__________ Information from ESET Smart Security, version of virus
signature database 4950 (20100316) __________

The message was checked by ESET Smart Security.

http://www.eset.com

__________ Information from ESET Smart Security, version of virus signature database 4950 (20100316) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 
A

andy.novak

I think your only out of the box solutions are:

profiles.ActiveProfile.UserName

Username

Try both in the immediate window and see what you get and let us know what
results you get.

--

Rod Gill
Microsoft MVP for Project -http://www.project-systems.co.nz

Author of the only book on Project VBA, see:http://www.projectvbabook.com










__________ Information from ESET Smart Security, version of virus signature database 4950 (20100316) __________

The message was checked by ESET Smart Security.

http://www.eset.com

Rod, BOTH work just great. Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top