volatility -f /path/to/memory/dump.001 --profile=<profile> getsids -p <pidofprocess> > getsids-results.txt
Lists the username and token of the user running the process, as well as the groups he’s a member of
volatility -f /path/to/memory/dump.001 --profile=<profile> getsids -p <pidofprocess> > getsids-results.txt
Lists the username and token of the user running the process, as well as the groups he’s a member of