 | SmtpLoginSSPIAsync(SSPIMechanism, String, String, String, CancellationToken) Method |
Namespace: Limilabs.Client.SMTPAssembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task LoginSSPIAsync(
SSPIMechanism mechanism,
string userWithDomain,
string password,
string target,
CancellationToken cancel = default
)
Public Function LoginSSPIAsync (
mechanism As SSPIMechanism,
userWithDomain As String,
password As String,
target As String,
Optional cancel As CancellationToken = Nothing
) As Task
public:
Task^ LoginSSPIAsync(
SSPIMechanism mechanism,
String^ userWithDomain,
String^ password,
String^ target,
CancellationToken cancel = CancellationToken()
)
member LoginSSPIAsync :
mechanism : SSPIMechanism *
userWithDomain : string *
password : string *
target : string *
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task Parameters
- mechanism SSPIMechanism
- Mechanism to use.
- userWithDomain String
- User's login (e.g. "domain/user").
- password String
- User's password.
- target String
- Indicates the service principal name (SPN) of the destination server. Default is "smtp/" + fully qualified target name. IIS SMTP may use "SmtpSvc/" + fully qualified target name.
- cancel CancellationToken (Optional)
- A cancellation token that can be used to signal the asynchronous operation should be canceled.
Return Value
TaskA task that represents the asynchronous login operation.
Exceptions
See Also