Check Local Group policy settings

Hi there, i’m searching for relevance to checks some Local group policy value, such as

"Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Allow log on locally"


log retention which contains the number of days the log must be retained

but i can’t find a way.

WMI class RSOP_UserPrivilegeRight should contains informations about user rights, but if i do:

exist selects "* from RSOP_UserPrivilegeRight" of wmi "root\RSOP\Computer"

result is False"

i use the inspector security database to read informations about password min length etc. so i thought my problem was similar, but there are no relative properties…
any help will be appreciated.