User Commands projects(1)
NAME
projects - print project membership of user
SYNOPSIS
projects [-dv] [ user]
projects -l [projectname [projectname]...]
DESCRIPTION
The projects command prints on standard output the projects
to which the invoking user or an optionally specified userbelongs. Each user belongs to some set of projects specified
in the project(4) file and possibly in the associated NIS maps and LDAP databases for project information. OPTIONS The following options are supported:-d Prints only default project.
-l Prints verbose info on each project projectname. If no
projectnames are given, info on all projects is
printed.-v Prints project descriptions along with project names.
OPERANDS The following operand is supported:projectname Display information for the specified pro-
ject.user Displays project memberships for the speci-
fied user.EXAMPLES
Example 1 Displaying Membership for a Specified Userexample$ projects paul
default beatles wingsexample$ projects ringo
default beatlesexample$ projects -d paul
beatlesSunOS 5.11 Last change: 13 May 2004 1
User Commands projects(1)
EXIT STATUS The following exit values are returned: 0 Successful completion. 1 A fatal error occurred during execution. 2 Invalid command line options were specified. FILES /etc/project Local database containing valid project definitions for this machine.ATTRIBUTES
See attributes(5) for a description of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWcs | | Stability | See below. ||_____________________________|_____________________________|
The invocation is Committed. The human-readable output is
Uncommitted.SEE ALSO
getdefaultproj(3PROJECT), getprojent(3PROJECT), project(4), attributes(5)SunOS 5.11 Last change: 13 May 2004 2