VMS Help
DCE_SECURITY, API Routines, sec_id_gen_group

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

 NAME
   sec_id_gen_group - Generates a global name from cell and group UUIDs

 SYNOPSIS

   #include <dce/secidmap.h>

   void sec_id_gen_group(
           sec_rgy_handle_t context,
           uuid_t *cell_idp,
           uuid_t *group_idp,
           sec_rgy_name_t global_name,
           sec_rgy_name_t cell_namep,
           sec_rgy_name_t group_namep,
           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.

   cell_idp
         A pointer to the UUID of the home cell of the group whose name is
         in question.

   group_idp
         A pointer to the UUID of the group whose name is in question.

   Output

   global_name
         The global (full) name of the group in sec_rgy_name_t form.

   cell_namep
         The name of the group's home cell in sec_rgy_name_t form.

   group_namep
         The local (with respect to the home cell) name of the group in
         sec_rgy_name_t form.

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

 DESCRIPTION

   The sec_id_gen_group() routine generates a global name from input cell
   and group UUIDs. For example, given a UUID specifying the cell
   /.../world/hp/brazil, and a UUID specifying a group resident in that
   cell named writers, the routine would return the global name of that
   group, in this case, /.../world/hp/brazil/writers. It also returns the
   simple names of the cell and group, translated from the UUIDs.

   The routine will not produce translations to any name for which a NULL
   pointer has been supplied.

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

 ERRORS

   sec_id_e_name_too_long
                The name is too long for current implementation.

   sec_id_e_bad_cell_uuid
                The cell UUID is not valid.

   sec_rgy_object_not_found
                The registry server could not find the specified group.

   sec_rgy_server_unavailable
                The DCE Registry Server is unavailable.

   error_status_ok
                The call was successful.

 RELATED INFORMATION

   Functions: sec_intro
              sec_id_gen_name
              sec_id_parse_group
              sec_id_parse_name
  Close     HLB-list     TLB-list     Help  

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