|
boolean HstAccessControl::CheckEffectiveRights |
( |
int |
nVServerId, |
|
|
long |
llTrusteeId, |
|
|
wstring |
szwProduct, |
|
|
wstring |
szwVersion, |
|
|
params |
pAccessRights |
|
) |
| |
Verifies access rights of the specified user for the specified server.
- Parameters:
-
nVServerId | (int) virtual server ID. 0 means the primary server. -1 means the current server (primary or virtual one). |
llTrusteeId | (long) ID of the unique user or group. Matches to ul_llTrusteeId, llUserId, and llGroupId. |
szwProduct | (wstring) product title. |
szwVersion | (wstring) product version. |
pAccessRights | (params) Verification access rights. The format is the following:
+---<functional area> = (paramInt)<access mask> // see Access rights
|
- Returns:
- (boolean) true if the user has all the access rights presented from pAccessRights.
|