TeamFoundationAccessControlService.IsServiceIdentity Method (TeamFoundationRequestContext, TeamFoundationIdentity)
Checks to see whether 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 TeamFoundationIdentity _
) As Boolean
public static bool IsServiceIdentity(
TeamFoundationRequestContext requestContext,
TeamFoundationIdentity identity
)
public:
static bool IsServiceIdentity(
TeamFoundationRequestContext^ requestContext,
TeamFoundationIdentity^ identity
)
static member IsServiceIdentity :
requestContext:TeamFoundationRequestContext *
identity:TeamFoundationIdentity -> bool
public static function IsServiceIdentity(
requestContext : TeamFoundationRequestContext,
identity : TeamFoundationIdentity
) : boolean
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
Return Value
Type: System.Boolean
.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.