Partager via


IdentityHelper.CreateWindowsDescriptor Method (String)

Creates a Windows 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 CreateWindowsDescriptor ( _
    sid As String _
) As IdentityDescriptor
public static IdentityDescriptor CreateWindowsDescriptor(
    string sid
)
public:
static IdentityDescriptor^ CreateWindowsDescriptor(
    String^ sid
)
static member CreateWindowsDescriptor : 
        sid:string -> IdentityDescriptor
public static function CreateWindowsDescriptor(
    sid : String
) : IdentityDescriptor

Parameters

  • sid
    Type: System.String

    The SID for which a Windows identity descriptor is desired.

Return Value

Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor
A Windows identity descriptor.

.NET Framework Security

See Also

Reference

IdentityHelper Class

CreateWindowsDescriptor Overload

Microsoft.TeamFoundation.Framework.Client Namespace