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.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기