Condividi tramite


TeamFoundationAccessControlService.IsServiceIdentity Method

Checks to see if the given identity is a service identity

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

Syntax

'Declaration
Public Shared Function IsServiceIdentity ( _
    requestContext As TeamFoundationRequestContext, _
    identity As Identity, _
    compareScope As Boolean _
) As Boolean
public static bool IsServiceIdentity(
    TeamFoundationRequestContext requestContext,
    Identity identity,
    bool compareScope
)
public:
static bool IsServiceIdentity(
    TeamFoundationRequestContext^ requestContext, 
    Identity^ identity, 
    bool compareScope
)
static member IsServiceIdentity : 
        requestContext:TeamFoundationRequestContext * 
        identity:Identity * 
        compareScope:bool -> bool
public static function IsServiceIdentity(
    requestContext : TeamFoundationRequestContext, 
    identity : Identity, 
    compareScope : boolean
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

TeamFoundationAccessControlService Class

Microsoft.TeamFoundation.Framework.Server Namespace