|
Emanuele Aliberti via md-api
|
Send email to md-api@mdaemon.com |
Which Alt-N products do you use? |
|
Most recent posts: Emanuele Aliberti via md-api |
Global administrators - 08:58am Aug 13, 2021 CDT -
How do I determine whether a user is a global
administrator?
There are quite some ways to determine if a user is a domain
administrator:
- MD_GetIsAdmin(MD_HANDLE
hUser); macro → bool MD_GetWebConfigBit(hUser, MDUSERDLL_ISADMIN);
- MD_GetUserInfo(MD_HANDLE
hUser, MD_UserInfo* userInfo); → bool userInfo.IsDomainAdmin;
- bool
isDomainAdmin = MD_GetIsDomainAdmin(MD_HANDLE hUser, const
char* DomainName);
But I can't find a bool
MD_GetIsGlobalAdmin(MD_HANDLE hUser).
Instead, should I iterate on MD_GetDomainNames() and call MD_GetIsDomainAdmin()
for each one and AND the results?
--MD-API-------------------------------------------------------------
This list is for questions and discussions regarding MDAEMON's API.
To unsubscribe from this mailing list send an email to
md-api-unsubscribe@mdaemon.com .
--POWERED BY MDAEMON!------------------------------------------------
---------------------------------------------------------------------
These forums are provided by MDaemon Technologies for user-to-user
support and discussion... |
| |

|
|
You are visiting as a Guest user.
|