fgetdfltprojuser man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



getdfltprojuser(3c)					   getdfltprojuser(3c)

NAME
     getdfltprojuser, fgetdfltprojuser - get user's default project ID

SYNOPSIS
     #include <proj.h>

     prid_t getdfltprojuser(const char *name);

     prid_t fgetdfltprojuser(PROJ token, const char *name);

DESCRIPTION
     The getdfltprojuser function searches the project file for the user name
     and returns the first project ID associated with that user.  The first
     project in a user's project entry is considered to be their default
     project for the purposes of login and similar situations.

     The fgetdfltprojuser function is a variant of getdfltprojuser that uses a
     PROJ token to make it more efficient for repeated use.  Otherwise its
     operation is identical.  For more details on creating a PROJ token, see
     openproj(3C).

FILES
     /etc/project   System project authorization file.

     /etc/projid    System project name to project ID mappings.

SEE ALSO
     closeproj(3C), getprojall(3C), getprojuser(3C), openproj(3C),
     validateproj(3C), projid(4), projects(5).

DIAGNOSTICS
     getdfltprojuser and fgetdfltprojuser both return the appropriate project
     ID if successful, or -1 if not.

BUGS
     Both functions use fopen(3S) and are thus subject to its limitations.

     Project information should be (optionally) obtained via NIS.

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net