VersionControlServer.AuthorizedUser Property
Gets the user who is authorized to use the specified server.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Декларация
Public ReadOnly Property AuthorizedUser As String
Get
public string AuthorizedUser { get; }
public:
property String^ AuthorizedUser {
String^ get ();
}
member AuthorizedUser : string
function get AuthorizedUser () : String
Property Value
Type: System.String
The user name to use in order to access the specified repository.
Remarks
If the user name was specified as a command-line parameter, environment variable, etc., that value will be returned. If default credentials are used, authenticate the user credentials with the server to get the identity of the user.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.