Saml2SecurityTokenHandler.CreateActorString(ClaimsIdentity) 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.
Transforms a ClaimsIdentity into a string.
protected string CreateActorString (System.Security.Claims.ClaimsIdentity actor);
member this.CreateActorString : System.Security.Claims.ClaimsIdentity -> string
Protected Function CreateActorString (actor As ClaimsIdentity) As String
Parameters
- actor
- ClaimsIdentity
A ClaimsIdentity to be transformed.
Returns
A well-formed XML string.
Exceptions
if actor
is null.
Remarks
Normally this is called when creating a Saml2Assertion from a ClaimsIdentity. When Actor is not null, this method is called to create an string representation to add as an attribute.
The string is formed: "<Actor><Attribute name, namespace><AttributeValue>...</AttributeValue>, ...</Attribute>...</Actor>
Applies to
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示