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
‘선언
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
- securityId
Type: System.Security.Principal.SecurityIdentifier
The SID for which a Team Foundation identity descriptor is desired.
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
- 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.