CreateWorkspaceParameters.OwnerName Property

The owner name of the workspace to be created.

The default value for this parameter is RepositoryConstants.AuthenticatedUser (or "."), which indicates that the server should create the workspace on behalf of the calling user. If you are not sure who this resolves to, the value of the AuthorizedUser property of the VersionControlServer object gives the full display name form of the calling user.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Property OwnerName As String
public string OwnerName { get; set; }
public:
property String^ OwnerName {
    String^ get ();
    void set (String^ value);
}
member OwnerName : string with get, set
function get OwnerName () : String 
function set OwnerName (value : String)

Property Value

Type: System.String
The owner name of the workspace to be created.

.NET Framework Security

See Also

Reference

CreateWorkspaceParameters Class

Microsoft.TeamFoundation.VersionControl.Client Namespace