home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3c / validateproj.z / validateproj
Encoding:
Text File  |  1998-10-20  |  2.9 KB  |  67 lines

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