using VBA to id logged in user

D

dfeigen115

We are using Project Server 2007 and are writing some VBA code to
allow/disallow selected capabilities, such preventing the "common" user from
deleting baselined tasks. We have a selected few users that will need to
have the capaibility.

We want to have the VBA code check if the logged in user is or is not one of
the users that can perform the function.

If we wanted to do the same in Project 2007 STANDARD, woudl the same code
work?

Thanks in advance,
Dan
 
R

Rod Gill

Username returns the currently logged in user's name

--

Rod Gill
Microsoft MVP for Project

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




dfeigen115 said:
We are using Project Server 2007 and are writing some VBA code to
allow/disallow selected capabilities, such preventing the "common" user
from
deleting baselined tasks. We have a selected few users that will need to
have the capaibility.

We want to have the VBA code check if the logged in user is or is not one
of
the users that can perform the function.

If we wanted to do the same in Project 2007 STANDARD, woudl the same code
work?

Thanks in advance,
Dan

__________ Information from ESET Smart Security, version of virus
signature database 4494 (20091009) __________

The message was checked by ESET Smart Security.

http://www.eset.com

__________ Information from ESET Smart Security, version of virus signature database 4494 (20091009) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 
Top