PermissionSet.ConvertPermissionSet(String, Byte[], String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This API is now deprecated.
Caution
This method is obsolete and shoud no longer be used.
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]
public static byte[] ConvertPermissionSet (string inFormat, byte[] inData, string outFormat);
public static byte[] ConvertPermissionSet (string inFormat, byte[] inData, string outFormat);
[System.Obsolete("This method is obsolete and shoud no longer be used.")]
public static byte[] ConvertPermissionSet (string inFormat, byte[] inData, string outFormat);
[<System.Obsolete>]
static member ConvertPermissionSet : string * byte[] * string -> byte[]
static member ConvertPermissionSet : string * byte[] * string -> byte[]
[<System.Obsolete("This method is obsolete and shoud no longer be used.")>]
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
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
A string representing one of the following encoding formats: ASCII, Unicode, or Binary. Possible values are "XMLASCII" or "XML", "XMLUNICODE", and "BINARY".
Returns
An encrypted permission set with the specified output format.
- Attributes
Exceptions
In all cases.
Remarks
Do not use this method.