IdentityHelper.IsServiceIdentity Method
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 _
) As Boolean
public static bool IsServiceIdentity(
TeamFoundationRequestContext requestContext,
Identity identity
)
public:
static bool IsServiceIdentity(
TeamFoundationRequestContext^ requestContext,
Identity^ identity
)
static member IsServiceIdentity :
requestContext:TeamFoundationRequestContext *
identity:Identity -> bool
public static function IsServiceIdentity(
requestContext : TeamFoundationRequestContext,
identity : Identity
) : boolean
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- identity
Type: Microsoft.VisualStudio.Services.Identity.Identity
Return Value
Type: System.Boolean
Returns 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.