Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- identity
Type: Microsoft.VisualStudio.Services.Identity.Identity
- compareScope
Type: System.Boolean
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.