UserNamePasswordCredential 构造函数 (String)

命名空间: Microsoft.IdentityModel.Protocols.WSIdentity
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

    Dim userName As String

Dim instance As New UserNamePasswordCredential(userName)

语法

声明
Public Sub New ( _
    userName As String _
)
public UserNamePasswordCredential (
    string userName
)
public:
UserNamePasswordCredential (
    String^ userName
)
public UserNamePasswordCredential (
    String userName
)
public function UserNamePasswordCredential (
    userName : String
)

参数

  • userName
     

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

请参见

参考

UserNamePasswordCredential 类
UserNamePasswordCredential 成员
Microsoft.IdentityModel.Protocols.WSIdentity 命名空间