Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sec_rgy_pgo_id_to_unix_num(3sec) — DCE 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

sec_rgy_pgo_id_to_unix_num(3sec)  —  Subroutines

NAME

sec_rgy_pgo_id_to_unix_num — Returns the UNIX number for a PGO item identified by its UUID

Synopsis

void sec_rgy_pgo_id_to_unix_num(
sec_rgy_handle_t context,
sec_rgy_domain_t name_domain,
uuid_t ∗item_id,
signed32 ∗item_unix_id,
error_status_t ∗status);

Parameters

Input

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

name_domain
This variable identifies the type of the principal, group, or organization (PGO) item identified by the given name.  The valid values are as follows:

sec_rgy_domain_person
The item_id parameter identifies a principal. 

sec_rgy_domain_group
The item_id parameter identifies a group. 

sec_rgy_domain_org
The item_id parameter identifies an organization. 

item_idA pointer to the uuid_t variable containing the input UUID (unique universal identifier). 

Output

item_unix_id
A pointer to the signed32 variable to receive the returned UNIX number for the PGO item. 

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

Description

The sec_rgy_pgo_id_to_unix_num() routine returns the UNIX number for the PGO item having the specified UUID. 

Files

/usr/include/dce/pgo.idl
The idl file from which dce/pgo.h was derived. 

Errors

The following describes a partial list of errors that might be returned.  Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages. 

sec_rgy_object_not_found
No item with the specified UUID 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(3sec), sec_rgy_pgo_add(3sec), sec_rgy_pgo_get_by_id(3sec), sec_rgy_pgo_get_by_name(3sec), sec_rgy_pgo_get_by_unix_num(3sec), sec_rgy_pgo_id_to_name(3sec), sec_rgy_pgo_name_to_id(3sec), sec_rgy_pgo_unix_num_to_id(3sec). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026