Compartir a través de


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

'Declaración
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.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.

Remarks

Team Foundation Server SIDs start with S-1-9-1551374245. Anything else is treated as Windows.

.NET Framework Security

See Also

Reference

IdentityHelper Class

CreateDescriptorFromSid Overload

Microsoft.TeamFoundation.Framework.Client Namespace