IdentityHelper.CreateDescriptorFromSid 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 CreateDescriptorFromSid ( _
sid As String _
) As IdentityDescriptor
public static IdentityDescriptor CreateDescriptorFromSid(
string sid
)
public:
static IdentityDescriptor^ CreateDescriptorFromSid(
String^ sid
)
static member CreateDescriptorFromSid :
sid:string -> IdentityDescriptor
public static function CreateDescriptorFromSid(
sid : String
) : IdentityDescriptor
Parameters
sid
Type: System.StringThe SID for which a Team Foundation identity descriptor is desired.
Return Value
Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor
A Team Foundation identity descriptor.
Remarks
Team Foundation Server SIDs start with S-1-9-1551374245. Anything else is treated as Windows.
.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.