isAdmin() Method
In SecurityService, use the isAdmin() method to check if the user has administrator privileges.
Signature
public boolean isAdmin(String userID, String password);
Parameters for isAdmin() Method
| Parameter | Description |
|---|---|
|
String userID |
The user ID of the user. |
|
String password |
The password of the user. |