AccountHttpClient.GetAccount Method
Namespace: Microsoft.VisualStudio.Services.Account.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Function GetAccount ( _
accountId As String, _
propertyNameFilter As IEnumerable(Of String), _
userState As Object _
) As Account
public Account GetAccount(
string accountId,
IEnumerable<string> propertyNameFilter,
Object userState
)
public:
Account^ GetAccount(
String^ accountId,
IEnumerable<String^>^ propertyNameFilter,
Object^ userState
)
member GetAccount :
accountId:string *
propertyNameFilter:IEnumerable<string> *
userState:Object -> Account
public function GetAccount(
accountId : String,
propertyNameFilter : IEnumerable<String>,
userState : Object
) : Account
Parameters
- accountId
Type: System.String
- propertyNameFilter
Type: System.Collections.Generic.IEnumerable<String>
- userState
Type: System.Object
Return Value
Type: Microsoft.VisualStudio.Services.Account.Account
.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.