共用方式為


IIdentityManagementService Interface

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Interface IIdentityManagementService
public interface IIdentityManagementService
public interface class IIdentityManagementService
type IIdentityManagementService =  interface end
public interface IIdentityManagementService

The IIdentityManagementService type exposes the following members.

Properties

  Name Description
Public property IdentityDomainScope

Top

Methods

  Name Description
Public method AddMemberToApplicationGroup Add member to TFS Group.
Public method CreateApplicationGroup Creates a TFS application group
Public method DeleteApplicationGroup Deletes a TFS application group
Public method GetScopeName Gets the scope name for the provided scope id.
Public method IsMember Expanded membership query for direct or nested member.
Public method IsOwnedWellKnownGroup Check if the given descriptor is of TeamFoundation type, belongs to this IMS host and is a well-known group. This does not confirm that such a group actually exists, just that the Sid pattern meets these requirements.
Public method IsOwner Check if the given descriptor is of TeamFoundation type, and belongs to this IMS host. This does not confirm that such a group actually exists, just that the Sid pattern belongs to this host.
Public method ListApplicationGroups Lists all TFS application groups in the specified scope
Public method ReadIdentities(array<Guid[], MembershipQuery) Read identities by Team Foundation Id. Note - performance will be fastest when no membership information is requested.
Public method ReadIdentities(array<IdentityDescriptor[], MembershipQuery, ReadIdentityOptions) Read identities for given descriptors. First try IMS store. If not found, optionally try source like AD. Note - performance will be fastest when no membership information is requested.
Public method ReadIdentities(IdentitySearchFactor, array<String[], MembershipQuery, ReadIdentityOptions) Read identities based on search factor. First read from IMS store, and then (optionally) read from source like AD.
Public method ReadIdentity(IdentityDescriptor, MembershipQuery, ReadIdentityOptions) Overload that takes a single descriptor. Read identity for given descriptor. First try IMS store. If not found, optionally try source like AD. Note - performance will be fastest when no membership information is requested.
Public method ReadIdentity(IdentitySearchFactor, String, MembershipQuery, ReadIdentityOptions) Overload that takes a single search factor and returns match following this order. 1. With multiple matches, active identity if exists, else first match. 2. When there is a single match, the match. 3. When there is no match, null. Read identity based on search factor. First read from IMS store, and then (optionally) read from source like AD.
Public method RefreshIdentity Refresh identity properties from provider now. This identity must already be in the IMS store. If identity is a group, its DIRECT members and their properties will also be refreshed (asynchronously).
Public method RemoveMemberFromApplicationGroup Remove member from TFS Group.
Public method UpdateApplicationGroup Updates a property of a TFS application group

Top

See Also

Reference

Microsoft.TeamFoundation.Framework.Client Namespace