UserNameSecurityToken Constructors
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.
Initializes a new instance of the UserNameSecurityToken class.
Overloads
UserNameSecurityToken(String, String) |
Initializes a new instance of the UserNameSecurityToken class using the specified user name and password. |
UserNameSecurityToken(String, String, String) |
Initializes a new instance of the UserNameSecurityToken class using the specified user name, password, and unique identifier. |
UserNameSecurityToken(String, String)
- Source:
- UserNameSecurityToken.cs
- Source:
- UserNameSecurityToken.cs
- Source:
- UserNameSecurityToken.cs
Initializes a new instance of the UserNameSecurityToken class using the specified user name and password.
public:
UserNameSecurityToken(System::String ^ userName, System::String ^ password);
public UserNameSecurityToken (string userName, string password);
new System.IdentityModel.Tokens.UserNameSecurityToken : string * string -> System.IdentityModel.Tokens.UserNameSecurityToken
Public Sub New (userName As String, password As String)
Parameters
Exceptions
Applies to
UserNameSecurityToken(String, String, String)
- Source:
- UserNameSecurityToken.cs
- Source:
- UserNameSecurityToken.cs
- Source:
- UserNameSecurityToken.cs
Initializes a new instance of the UserNameSecurityToken class using the specified user name, password, and unique identifier.
public:
UserNameSecurityToken(System::String ^ userName, System::String ^ password, System::String ^ id);
public UserNameSecurityToken (string userName, string password, string id);
new System.IdentityModel.Tokens.UserNameSecurityToken : string * string * string -> System.IdentityModel.Tokens.UserNameSecurityToken
Public Sub New (userName As String, password As String, id As String)
Parameters
Exceptions
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈