Share via


CreateWorkspaceParameters.OwnerDisplayName Property

The owner display 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 OwnerDisplayName As String
public string OwnerDisplayName { get; set; }
public:
property String^ OwnerDisplayName {
    String^ get ();
    void set (String^ value);
}
member OwnerDisplayName : string with get, set
function get OwnerDisplayName () : String 
function set OwnerDisplayName (value : String)

Property Value

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

.NET Framework Security

See Also

Reference

CreateWorkspaceParameters Class

Microsoft.TeamFoundation.VersionControl.Client Namespace