Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Convert a binary SID into its parts.
The code for this conversion comes from the [SecurityIdentifier] object.
Namespace: Microsoft.TeamFoundation.Framework.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Shared Function DecodeSid ( _
binarySid As Byte(), _
<OutAttribute> ByRef revision As Integer, _
<OutAttribute> ByRef authority As ULong _
) As UInteger()
public static uint[] DecodeSid(
byte[] binarySid,
out int revision,
out ulong authority
)
public:
static array<unsigned int>^ DecodeSid(
array<unsigned char>^ binarySid,
[OutAttribute] int% revision,
[OutAttribute] unsigned long long% authority
)
static member DecodeSid :
binarySid:byte[] *
revision:int byref *
authority:uint64 byref -> uint32[]
public static function DecodeSid(
binarySid : byte[],
revision : int,
authority : ulong
) : uint[]
Parameters
- binarySid
Type: array<System.Byte[]
- revision
Type: System.Int32%
- authority
Type: System.UInt64%
Return Value
Type: array<System.UInt32[]
.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.