AccountHttpClient.GetAccountsByMemberAsync Method
Namespace: Microsoft.VisualStudio.Services.Account.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Function GetAccountsByMemberAsync ( _
memberId As Guid, _
includeOwner As Boolean, _
includeDisabledAccounts As Boolean, _
propertyNameFilter As IEnumerable(Of String), _
userState As Object _
) As Task(Of List(Of Account))
public Task<List<Account>> GetAccountsByMemberAsync(
Guid memberId,
bool includeOwner,
bool includeDisabledAccounts,
IEnumerable<string> propertyNameFilter,
Object userState
)
public:
Task<List<Account^>^>^ GetAccountsByMemberAsync(
Guid memberId,
bool includeOwner,
bool includeDisabledAccounts,
IEnumerable<String^>^ propertyNameFilter,
Object^ userState
)
member GetAccountsByMemberAsync :
memberId:Guid *
includeOwner:bool *
includeDisabledAccounts:bool *
propertyNameFilter:IEnumerable<string> *
userState:Object -> Task<List<Account>>
public function GetAccountsByMemberAsync(
memberId : Guid,
includeOwner : boolean,
includeDisabledAccounts : boolean,
propertyNameFilter : IEnumerable<String>,
userState : Object
) : Task<List<Account>>
Parameters
- memberId
Type: System.Guid
- includeOwner
Type: System.Boolean
- includeDisabledAccounts
Type: System.Boolean
- propertyNameFilter
Type: System.Collections.Generic.IEnumerable<String>
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<List<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.