IdentityHttpClient.ReadIdentityAsync Method (Guid, QueryMembership, IEnumerable<String>, Object)
Namespace: Microsoft.VisualStudio.Services.Identity.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Function ReadIdentityAsync ( _
identityId As Guid, _
queryMembership As QueryMembership, _
propertyNameFilters As IEnumerable(Of String), _
userState As Object _
) As Task(Of Identity)
public Task<Identity> ReadIdentityAsync(
Guid identityId,
QueryMembership queryMembership,
IEnumerable<string> propertyNameFilters,
Object userState
)
public:
Task<Identity^>^ ReadIdentityAsync(
Guid identityId,
QueryMembership queryMembership,
IEnumerable<String^>^ propertyNameFilters,
Object^ userState
)
member ReadIdentityAsync :
identityId:Guid *
queryMembership:QueryMembership *
propertyNameFilters:IEnumerable<string> *
userState:Object -> Task<Identity>
public function ReadIdentityAsync(
identityId : Guid,
queryMembership : QueryMembership,
propertyNameFilters : IEnumerable<String>,
userState : Object
) : Task<Identity>
Parameters
- identityId
Type: System.Guid
- queryMembership
Type: Microsoft.VisualStudio.Services.Identity.QueryMembership
- propertyNameFilters
Type: System.Collections.Generic.IEnumerable<String>
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<Identity>
.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.