IdentityHelper.CreateTeamFoundationDescriptor Method (String)
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
'Declaration
Public Shared Function CreateTeamFoundationDescriptor ( _
sid As String _
) As IdentityDescriptor
public static IdentityDescriptor CreateTeamFoundationDescriptor(
string sid
)
public:
static IdentityDescriptor^ CreateTeamFoundationDescriptor(
String^ sid
)
static member CreateTeamFoundationDescriptor :
sid:string -> IdentityDescriptor
public static function CreateTeamFoundationDescriptor(
sid : String
) : IdentityDescriptor
Parameters
- sid
Type: System.String
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.