[This is preliminary documentation and is subject to change.]

Get the record for an existing user from the repository.

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2012.2.63.1250 (2012.2.63.1250)

Syntax

C#
public User GetUser(
	string user,
	Options options
)
Visual Basic
Public Function GetUser ( _
	user As String, _
	options As Options _
) As User
Visual C++
public:
User^ GetUser(
	String^ user, 
	Options^ options
)

Parameters

user
Type: System..::..String
User name
options
Type: Perforce.P4..::..Options
There are no valid flags to use when fetching an existing user

Return Value

The User object if new user was found, null if creation failed

See Also