IdentityUtil.IdentityHasName Method
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Shared Function IdentityHasName ( _
identity As TeamFoundationIdentity, _
name As String _
) As Boolean
public static bool IdentityHasName(
TeamFoundationIdentity identity,
string name
)
public:
static bool IdentityHasName(
TeamFoundationIdentity^ identity,
String^ name
)
static member IdentityHasName :
identity:TeamFoundationIdentity *
name:string -> bool
public static function IdentityHasName(
identity : TeamFoundationIdentity,
name : String
) : boolean
Parameters
- identity
Type: Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity
- name
Type: System.String
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.