Partager via


SidIdentityHelper.EncodeSid Method

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

Syntax

'Declaration
Public Shared Function EncodeSid ( _
    identifierAuthority As ULong, _
    subAuthorities As UInteger() _
) As Byte()
public static byte[] EncodeSid(
    ulong identifierAuthority,
    uint[] subAuthorities
)
public:
static array<unsigned char>^ EncodeSid(
    unsigned long long identifierAuthority, 
    array<unsigned int>^ subAuthorities
)
static member EncodeSid : 
        identifierAuthority:uint64 * 
        subAuthorities:uint32[] -> byte[] 
public static function EncodeSid(
    identifierAuthority : ulong, 
    subAuthorities : uint[]
) : byte[]

Parameters

Return Value

Type: array<System.Byte[]
Returns Byte.

.NET Framework Security

See Also

Reference

SidIdentityHelper Class

Microsoft.TeamFoundation.Framework.Common Namespace