Discussion:
[p4] perforce login from visual studio
Hesham Desouky
2004-10-05 08:21:35 UTC
Permalink
Hi all
I am new to perforce. Perforce is installed at our servers to hos
software applications developed using visual C++ 6
I used perforce to control workspace with many projects. I followed the
perforce notes regarding using perforce with large projects under visual
stduio.

The problem is, we need a way to force perforce to ask for the username
and password each time a user is trying to open the project from visual
studio.

Perforce always use some kind of default user name and I can't find a
way to change this.

Is there a way to do this?

Your help will be so much appreciated

Hesham Desouk
Stephen Vance
2004-10-05 08:55:53 UTC
Permalink
Look at 'p4 set'. You can also achieve the same result by setting the user
name and password from within P4Win and selecting "Set as default" for the
user and checking "Remember password" for the password.

The 'p4 set' commands are

p4 set P4USER=myname
p4 set P4PASSWD=mypassword

Note that the last form will not set the encrypted version of the password
in the registry. You have to user 'p4 passwd' for that.

Steve
Post by Hesham Desouky
Hi all
I am new to perforce. Perforce is installed at our servers to hos
software applications developed using visual C++ 6
I used perforce to control workspace with many projects. I followed the
perforce notes regarding using perforce with large projects under visual
stduio.
The problem is, we need a way to force perforce to ask for the username
and password each time a user is trying to open the project from visual
studio.
Perforce always use some kind of default user name and I can't find a
way to change this.
Is there a way to do this?
Your help will be so much appreciated
Hesham Desouk
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
Stephen Vance
mailto:***@vance.com
http://www.vance.com/

Loading...