VMS Help
DCE_SECURITY, API Routines, sec_rgy_pgo_unix_num_to_name

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

 NAME
   sec_rgy_pgo_unix_num_to_name - Returns the name for a PGO item
                                  identified by its UNIX number

 SYNOPSIS

   #include <dce/pgo.h>

   void sec_rgy_pgo_unix_num_to_name(
           sec_rgy_handle_t context,
           sec_rgy_domain_t name_domain,
           signed32 item_unix_id,
           sec_rgy_name_t pgo_name,
           error_status_t *status);

 PARAMETERS

   Input

   context
          An opaque handle bound to a registry server.  Use
          sec_rgy_site_open() to acquire a bound handle.

   name_domain
          The type of the principal, group, or organization (PGO) item
          identified by item_unix_id.  Valid values are as follows:

          sec_rgy_domain_person
                      The item_unix_id parameter identifies a principal.

          sec_rgy_domain_group
                      The item_unix_id parameter identifies a group.

          sec_rgy_domain_org
                      The item_unix_id parameter identifies an
                      organization.

   item_unix_id
          The signed32 variable containing the UNIX number for the PGO
          item.

   Output

   pgo_name
          A character string containing the name of the PGO item in
          question.

   status
          A pointer to the completion status.  On successful completion,
          the routine returns error_status_ok.  Otherwise, it returns an
          error.

 DESCRIPTION

   The sec_rgy_pgo_unix_num_to_name() routine returns the name for a PGO
   item that has the specified UNIX number.

   Permissions Required

   The sec_rgy_pgo_unix_num_to_name() routine requires at least one
   permission of any kind on the PGO item identified by item_unix_id.

 FILES

   SYS$COMMON:[DCE$LIBRARY]PGO.IDL
                The idl file from which dce/pgo.h was derived.

 ERRORS

   sec_rgy_object_not_found
                No item with the specified UNIX number could be found.

   sec_rgy_server_unavailable
                The DCE Registry Server is unavailable.

   error_status_ok
                The call was successful.

 RELATED INFORMATION

   Functions: sec_intro
              sec_rgy_pgo_add
              sec_rgy_pgo_get_by_id
              sec_rgy_pgo_get_by_name
              sec_rgy_pgo_get_by_unix_num
              sec_rgy_pgo_id_to_name
              sec_rgy_pgo_id_to_unix_num
              sec_rgy_pgo_name_to_id
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.