3.1.4.2.17 ICertAdminD2::GetMyRoles (Opnum 47)
The GetMyRoles method retrieves the CA roles, as specified in [CIMC-PP], assigned to the user who calls the method.
-
HRESULT GetMyRoles( [in, string, unique] wchar_t const* pwszAuthority, [out] LONG* pdwRoles );
pwszAuthority: See the pwszAuthority definition in section 3.1.4.1.1.
pdwRoles: A bitwise-OR combination of zero or more CA security values based on the CA implementation. Microsoft CA permissions are defined in section 3.1.1.7.
For pdwRoles, the server MUST return a signed integer that represents the CA roles assigned to the caller.