home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3c / getdfltprojuser.z / getdfltprojuser
Encoding:
Text File  |  2002-10-03  |  3.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggeeeettttddddffffllllttttpppprrrroooojjjjuuuusssseeeerrrr((((3333cccc))))                                        ggggeeeettttddddffffllllttttpppprrrroooojjjjuuuusssseeeerrrr((((3333cccc))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      getdfltprojuser, fgetdfltprojuser - get user's default project ID
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<pppprrrroooojjjj....hhhh>>>>
  13.  
  14.      pppprrrriiiidddd____tttt ggggeeeettttddddffffllllttttpppprrrroooojjjjuuuusssseeeerrrr((((ccccoooonnnnsssstttt cccchhhhaaaarrrr ****nnnnaaaammmmeeee))));;;;
  15.  
  16.      pppprrrriiiidddd____tttt ffffggggeeeettttddddffffllllttttpppprrrroooojjjjuuuusssseeeerrrr((((PPPPRRRROOOOJJJJ ttttooookkkkeeeennnn,,,, ccccoooonnnnsssstttt cccchhhhaaaarrrr ****nnnnaaaammmmeeee))));;;;
  17.  
  18. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.      The _g_e_t_d_f_l_t_p_r_o_j_u_s_e_r function searches the pppprrrroooojjjjeeeecccctttt file for the user _n_a_m_e
  20.      and returns the first project ID associated with that user.  The first
  21.      project in a user's pppprrrroooojjjjeeeecccctttt entry is considered to be their default
  22.      project for the purposes of login and similar situations.
  23.  
  24.      The _f_g_e_t_d_f_l_t_p_r_o_j_u_s_e_r function is a variant of _g_e_t_d_f_l_t_p_r_o_j_u_s_e_r that uses a
  25.      PPPPRRRROOOOJJJJ token to make it more efficient for repeated use.  Otherwise its
  26.      operation is identical.  For more details on creating a PPPPRRRROOOOJJJJ token, see
  27.      _o_p_e_n_p_r_o_j(3C).
  28.  
  29. FFFFIIIILLLLEEEESSSS
  30.      ////eeeettttcccc////pppprrrroooojjjjeeeecccctttt   System project authorization file.
  31.  
  32.      ////eeeettttcccc////pppprrrroooojjjjiiiidddd    System project name to project ID mappings.
  33.  
  34. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  35.      closeproj(3C), getprojall(3C), getprojuser(3C), openproj(3C),
  36.      validateproj(3C), projid(4), projects(5).
  37.  
  38. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  39.      _g_e_t_d_f_l_t_p_r_o_j_u_s_e_r and _f_g_e_t_d_f_l_t_p_r_o_j_u_s_e_r both return the appropriate project
  40.      ID if successful, or -1 if not.
  41.  
  42. BBBBUUUUGGGGSSSS
  43.      Both functions use _f_o_p_e_n(3S) and are thus subject to its limitations.
  44.  
  45.      Project information should be (optionally) obtained via NIS.
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.