Partager via


IdentityHelper.CreateWindowsDescriptor Method (SecurityIdentifier)

Creates a Windows identity descriptor from the specified SID.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Déclaration
Public Shared Function CreateWindowsDescriptor ( _
    securityId As SecurityIdentifier _
) As IdentityDescriptor
public static IdentityDescriptor CreateWindowsDescriptor(
    SecurityIdentifier securityId
)
public:
static IdentityDescriptor^ CreateWindowsDescriptor(
    SecurityIdentifier^ securityId
)
static member CreateWindowsDescriptor : 
        securityId:SecurityIdentifier -> IdentityDescriptor 
public static function CreateWindowsDescriptor(
    securityId : SecurityIdentifier
) : IdentityDescriptor

Parameters

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