IdentityHelper.CreateTeamFoundationDescriptor Method (SecurityIdentifier)
Creates a Team Foundation identity descriptor from the specified SID.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaración
Public Shared Function CreateTeamFoundationDescriptor ( _
securityId As SecurityIdentifier _
) As IdentityDescriptor
public static IdentityDescriptor CreateTeamFoundationDescriptor(
SecurityIdentifier securityId
)
public:
static IdentityDescriptor^ CreateTeamFoundationDescriptor(
SecurityIdentifier^ securityId
)
static member CreateTeamFoundationDescriptor :
securityId:SecurityIdentifier -> IdentityDescriptor
public static function CreateTeamFoundationDescriptor(
securityId : SecurityIdentifier
) : IdentityDescriptor
Parameters
- securityId
Type: System.Security.Principal.SecurityIdentifier
The SID for which a Team Foundation identity descriptor is desired.
Return Value
Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor
A Team Foundation identity descriptor.
.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.