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
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
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
.NET