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
- identifierAuthority
Type: System.UInt64
- subAuthorities
Type: array<System.UInt32[]
Return Value
Type: array<System.Byte[]
.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.