共用方式為


ConnectionData.AuthorizedUser Property

Namespace:  Microsoft.VisualStudio.Services.Location
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
<DataMemberAttribute(IsRequired := False, EmitDefaultValue := False)> _
Public Property AuthorizedUser As Identity
[DataMemberAttribute(IsRequired = false, EmitDefaultValue = false)]
public Identity AuthorizedUser { get; set; }
[DataMemberAttribute(IsRequired = false, EmitDefaultValue = false)]
public:
property Identity^ AuthorizedUser {
    Identity^ get ();
    void set (Identity^ value);
}
[<DataMemberAttribute(IsRequired = false, EmitDefaultValue = false)>]
member AuthorizedUser : Identity with get, set
function get AuthorizedUser () : Identity 
function set AuthorizedUser (value : Identity)

Property Value

Type: Microsoft.VisualStudio.Services.Identity.Identity

.NET Framework Security

See Also

Reference

ConnectionData Class

Microsoft.VisualStudio.Services.Location Namespace