Perforce API for the .Net CLR P4.Net

P4Connection.User Property

Gets/Sets the User login used to connect to Perforce.

[Visual Basic]
Public Property User As String
[C#]
public string User {get; set;}

Property Value

The user.

Remarks

Defaults to the value set in your Perforce environment. After you've set User, you can unset (revert to the default) by setting to User to null.

See Also

P4Connection Class | P4API Namespace