|
Parameters |
|
Description |
Passed |
Returned |
Method checks if account of user with specified login and password belongs to specified vendor. Method returns ID of account the user belongs to if the account belongs to specified vendor, and "0" if it is not. User password is validated against password filter configured in Configuration Director > Security Manager > Login Settings submenu of PBA CP. If password does not match the filter, message configured under same menu is returned as second parameter. For example, if customer ID 1000001 belongs to provider (account ID 1), then for all users of this account and vendor account ID 1 the method will return 1000001. |
3 |
2 |
Syntax
ItemResult BM::UserForVendorValidate_API(
Str(40) StoreLogin;
Str(40) StorePassword;
Str(40) StoreVendorID.
)
returns
Int accountID - ID of account the user belong to;
Str passwordStrength - message on weak user password.
Special Notes