2 .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH PROJECTS 1 "May 13, 2004"
8 projects \- print project membership of user
12 \fBprojects\fR [\fB-dv\fR] [ \fIuser\fR]
17 \fBprojects\fR \fB-l\fR [\fIprojectname\fR [\fIprojectname\fR]...]
23 The \fBprojects\fR command prints on standard output the projects to which the
24 invoking user or an optionally specified user belongs. Each user belongs to
25 some set of projects specified in the \fBproject\fR(4) file and possibly in the
26 associated \fBNIS\fR maps and \fBLDAP\fR databases for project information.
30 The following options are supported:
37 Prints only default project.
46 Prints verbose info on each project projectname. If no projectnames are given,
47 info on all projects is printed.
56 Prints project descriptions along with project names.
62 The following operand is supported:
66 \fB\fIprojectname\fR\fR
69 Display information for the specified project.
78 Displays project memberships for the specified user.
83 \fBExample 1 \fRDisplaying Membership for a Specified User
87 example$ \fBprojects paul\fR
89 example$ \fBprojects ringo\fR
91 example$ \fBprojects -d paul\fR
100 The following exit values are returned:
107 Successful completion.
116 A fatal error occurred during execution.
125 Invalid command line options were specified.
132 \fB\fB/etc/project\fR\fR
135 Local database containing valid project definitions for this machine.
141 See \fBattributes\fR(5) for a description of the following attributes:
149 ATTRIBUTE TYPE ATTRIBUTE VALUE
155 The invocation is Evolving. The human-readable output is Unstable.
159 \fBgetdefaultproj\fR(3PROJECT), \fBgetprojent\fR(3PROJECT), \fBproject\fR(4),