Langue

IAuthenticationExtension2.LogonUser(String, String, String) Méthode

Définition

Crée une session de connexion pour l’utilisateur associé aux identifiants donnés.

public:
 bool LogonUser(System::String ^ userName, System::String ^ password, System::String ^ authority);
public bool LogonUser(string userName, string password, string authority);
abstract member LogonUser : string * string * string -> bool
Public Function LogonUser (userName As String, password As String, authority As String) As Boolean

Paramètres

userName
String

Le nom associé aux références.

password
String

Le mot de passe associé au mot de passe.

authority
String

Optional. L’autorité spécifique à utiliser pour authentifier un utilisateur (par exemple, un domaine Windows).

Retours

true si l’utilisateur a réussi à authentifier ; sinon, false.

S’applique à