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
'Declaration
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
- securityId
Type: System.Security.Principal.SecurityIdentifier
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
- 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.