IdentityHelper.CreateDescriptorFromSid 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

'Declaration
Public Shared Function CreateDescriptorFromSid ( _
    securityId As SecurityIdentifier _
) As IdentityDescriptor
public static IdentityDescriptor CreateDescriptorFromSid(
    SecurityIdentifier securityId
)
public:
static IdentityDescriptor^ CreateDescriptorFromSid(
    SecurityIdentifier^ securityId
)
static member CreateDescriptorFromSid : 
        securityId:SecurityIdentifier -> IdentityDescriptor
public static function CreateDescriptorFromSid(
    securityId : SecurityIdentifier
) : IdentityDescriptor

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor
A Team Foundation identity descriptor.

Remarks

SIDs for Visual Studio Team Foundation Server start with S-1-9-1551374245. Anything else is treated as a Windows SID.

.NET Framework Security

See Also

Reference

IdentityHelper Class

CreateDescriptorFromSid Overload

Microsoft.TeamFoundation.Framework.Client Namespace