how to know in which user groups am i cmd ? code example Example: list ad groups in powershell: gpresult /V