PermissionSet.ConvertPermissionSet(String, Byte[], String) PermissionSet.ConvertPermissionSet(String, Byte[], String) PermissionSet.ConvertPermissionSet(String, Byte[], String) PermissionSet.ConvertPermissionSet(String, Byte[], String) Method

Definition

Warning

This API is now obsolete.

Converts an encoded PermissionSet from one XML encoding format to another XML encoding format.

public:
 static cli::array <System::Byte> ^ ConvertPermissionSet(System::String ^ inFormat, cli::array <System::Byte> ^ inData, System::String ^ outFormat);
[System.Obsolete]
[System.Obsolete("This method is obsolete and shoud no longer be used.")]
public static byte[] ConvertPermissionSet (string inFormat, byte[] inData, string outFormat);
static member ConvertPermissionSet : string * byte[] * string -> byte[]
Public Shared Function ConvertPermissionSet (inFormat As String, inData As Byte(), outFormat As String) As Byte()

Parameters

inFormat
String String String String

A string representing one of the following encoding formats: ASCII, Unicode, or Binary. Possible values are "XMLASCII" or "XML", "XMLUNICODE", and "BINARY".

inData
Byte[]

An XML-encoded permission set.

outFormat
String String String String

A string representing one of the following encoding formats: ASCII, Unicode, or Binary. Possible values are "XMLASCII" or "XML", "XMLUNICODE", and "BINARY".

Returns

Byte[]

An encrypted permission set with the specified output format.

Exceptions

Remarks

Do not use this method.

Applies to