System Administration Guide: Resource Management and Network Services

How to Obtain User and Project Membership Information

Use the id command with the -p flag to view the current project membership of the invoking process.


$ id -p
uid=100(mark) gid=1(other) projid=3(default)