Yoctopuce YoctoHub-Ethernet Mode D'emploi page 163

Table des Matières

Publicité

network→get_userPassword()
network→userPassword()
Retourne une chaîne de hash si un mot de passe a été configuré pour l'utilisateur "user", ou sinon
une chaîne vide.
function get_userPassword( )
js
string get_userPassword( )
cpp
-(NSString*) userPassword
m
string get_userPassword( ): string
pas
function get_userPassword( ) As String
vb
string get_userPassword( )
cs
String get_userPassword( )
java
async Task<string> get_userPassword( )
uwp
get_userPassword( )
py
function get_userPassword( )
php
async get_userPassword( ): Promise<string>
ts
async get_userPassword( )
es
string get_userPassword( )
dnp
string get_userPassword( )
cp
YNetwork
target
cmd
Retourne :
une chaîne de caractères représentant une chaîne de hash si un mot de passe a été configuré pour
l'utilisateur "user", ou sinon une chaîne vide
En cas d'erreur, déclenche une exception ou retourne
www.yoctopuce.com
get_userPassword
10. Référence de l'API de haut niveau
YNetwork.USERPASSWORD_INVALID
YNetwork
.
159

Publicité

Table des Matières
loading

Table des Matières