Get the user's groups in the PAM module