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