SamlAttribute.Name 属性

定义

获取或设置 SAML 属性的名称。Gets or sets the name of the SAML attribute.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

属性值

String

SAML 属性的名称。The name of the SAML attribute.

例外

设置了 Name 属性,而 IsReadOnly 属性为 trueThe Name property is set and the IsReadOnly property is true.

Name 属性设置为 nullThe Name property is set to null.

注解

若要指定与该 SAML 属性相关联的值,请设置 AttributeValues 属性。To specify the values associated with this SAML attribute, set the AttributeValues property

Name 属性 (Property) 对应于 OASIS 安全断言标记语言 (SAML) 断言和协议规范中定义的 AttributeName 元素的 <Attribute> 属性 (Attribute)。The Name property corresponds to the AttributeName attribute of the <Attribute> element that is defined in the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) specification.

适用于