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.StringThe 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.