SidIdentityHelper.GetDomainSid Method
Namespace: Microsoft.TeamFoundation.Framework.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'宣告
Public Shared Function GetDomainSid ( _
domainId As Guid _
) As SecurityIdentifier
public static SecurityIdentifier GetDomainSid(
Guid domainId
)
public:
static SecurityIdentifier^ GetDomainSid(
Guid domainId
)
static member GetDomainSid :
domainId:Guid -> SecurityIdentifier
public static function GetDomainSid(
domainId : Guid
) : SecurityIdentifier
Parameters
- domainId
Type: System.Guid
Return Value
Type: System.Security.Principal.SecurityIdentifier
.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.