BindAs Method
Namespace: Microsoft.CommerceServer.Interop.Profiles
Assembly: Microsoft.CommerceServer.Interop (in Microsoft.CommerceServer.Interop.dll)
Syntax
'Declaration
Public Overridable Sub BindAs ( _
sUsername As String, _
sPassword As String _
)
'Usage
Dim instance As ProfileServiceClass
Dim sUsername As String
Dim sPassword As String
instance.BindAs(sUsername, sPassword)
public virtual void BindAs(
string sUsername,
string sPassword
)
public:
virtual void BindAs(
[InAttribute] String^ sUsername,
[InAttribute] String^ sPassword
)
public function BindAs(
sUsername : String,
sPassword : String
)
Parameters
- sUsername
Type: System..::.String
- sPassword
Type: System..::.String
Implements
IProfileService2..::.BindAs(String, String)
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.