SamlSubjectStatement.SetSubject(SamlSubject) 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.
Sets the subject of a SamlSecurityToken security token.
protected:
void SetSubject(System::IdentityModel::Tokens::SamlSubject ^ samlSubject);
protected void SetSubject (System.IdentityModel.Tokens.SamlSubject samlSubject);
member this.SetSubject : System.IdentityModel.Tokens.SamlSubject -> unit
Protected Sub SetSubject (samlSubject As SamlSubject)
Parameters
- samlSubject
- SamlSubject
A SamlSubject that identifies the subject of a SamlSecurityToken security token.
Exceptions
samlSubject
is null
.
Remarks
Unlike the SamlSubject property, the SetSubject method can be called to set the subject of a SamlSecurityToken security token when the IsReadOnly property is true
.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.