Newsgroups: vmsnet.internals
Subject: (None)
From: REGI's <NUNEZ@esevvx.cica.es>
Date: Wed, 14 Oct 1992 17:10:00 UTC+0100
Organization: Macro32<==>Vmsnet.Internals Gateway
X-Gateway-Source-Info: Mailing List

>X-Envelope-to: MACRO32@WKUVX1.bitnet
>X-VMS-To: IN::"MACRO32@WKUVX1.BITNET"

1
14-OCT-1992 14:38:59.61
   1 00:00:00.00
15-OCT-1992 14:38:59.61
@UKCC.uky.edu:MacroMan@WKUVX1.BITNET
gutier@SEVAXU.CICA.ES

Received: from UKCC.uky.edu by ESEVVX.CICA.ES ; 11-OCT-1992 14:38:57.29
Received: from ukcc.uky.edu by UKCC.uky.edu (IBM VM SMTP V2R2)
   with BSMTP id 0344; Sun, 11 Oct 92 09:37:52 EDT
Received: from WKUVX1.BITNET by ukcc.uky.edu (Mailer R2.08) with BSMTP id 8839;
 Sun, 11 Oct 92 09:37:51 EDT
Errors-To: MacroMan@WKUVX1.BITNET
X-ListName: "VMS Internals, MACRO, and BLISS Discussions"
    <MACRO32@WKUVX1.BITNET>
Received: from SNYBUFVA.BITNET (HSIEH34) by WKUVX1 (MX V3.1C) with BSMTP; Sun,
          11 Oct 1992 08:19:39 CDT
Received: from SNYBUFVA.BITNET by SNYBUFVA.BITNET (PMDF #3312 ) id
          <01GPT27LEW28A9L3AC@SNYBUFVA.BITNET>; Sun, 11 Oct 1992 02:54:02 EDT
Date: 11 Oct 1992 02:54:02 -0400 (EDT)
From: HSIEH34@SNYBUFVA.BITNET
Reply-To: MACRO32@WKUVX1.BITNET
Subject: Re: Finding a users disk name
To: MACRO32@WKUVX1.BITNET
Organization: from SUNY College at Buffalo, NY 14222
X-Envelope-to: MACRO32@WKUVX1.BITNET
X-VMS-To: BITNET%"MACRO32@WKUVX1.BITNET"
MIME-version: 1.0
Content-transfer-encoding: 7BIT

From:   BITNET%"MACRO32@WKUVX1.BITNET"  8-OCT-1992 16:43:24.01
To:     BITNET%"MACRO32@WKUVX1.BITNET"  "MACRO32"
CC:
Subj:   RE: Finding a users disk name

Return-path: <ARNE@ko.hhs.dk>
Received: from Jnet-DAEMON by SNYBUFVA.BITNET (PMDF #3312 ) id
 <01GPP4PVZUU8A733HB@SNYBUFVA.BITNET>; Thu, 8 Oct 1992 16:43:09 EDT
Received: From WKUVX1(MXMAILER) by SNYBUFVA with Jnet id 2590 for
 HSIEH34@SNYBUFVA; Thu,  8 Oct 1992 16:43 EDT
Received: from CUNYVM.BITNET (MAILER) by WKUVX1 (MX V3.1C) with BSMTP; Thu,
 08 Oct 1992 14:31:41 CDT
Received: from CUNYVM by CUNYVM.BITNET (Mailer R2.08) with BSMTP id 7874; Thu,
 08 Oct 92 15:01:23 EDT
Received: from KOPC by CUNYVM.CUNY.EDU (IBM VM SMTP V2R2) with TCP; Thu,
 08 Oct 92 14:59:59 EDT
Received: from DECNET-MAIL (ARNE@KO) by kopc.hhs.dk (PMDF #3400 ) id
 <01GPPV0G0KQO8WW0A8@kopc.hhs.dk>; Thu, 8 Oct 1992 20:00:41 +0100
Date: 08 Oct 1992 20:00:41 +0100
From: Arne Vajhxj <ARNE@ko.hhs.dk>
Subject: RE: Finding a users disk name
To: MACRO32 <MACRO32@WKUVX1.BITNET>
Errors-to: MacroMan@WKUVX1.BITNET
Reply-to: MACRO32@WKUVX1.BITNET
Message-id: <01GPPV0G0KQQ8WW0A8@kopc.hhs.dk>
X-VMS-To: KOPC::IN%"@cunyvm.cuny.edu:MACRO32@WKUVX1.BITNET"
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=ISO-8859-1
Content-transfer-encoding: 8BIT
X-ListName: "VMS Internals, MACRO, and BLISS Discussions"
 <MACRO32@WKUVX1.BITNET>

> Hello, I'm helping a friend of mine write a program that kinda simulates
> a unix-type operating system. What we are having trouble with is the
> cd ~user  command. We don't know how to get the person's disk area name
> from their username. We'd like to be able to do cd ~user and have the
> program give us back disk$xxx:[user]. Is there an easy way to do this,
> and a way to do it without having operator privileges. Oh, we are using
> VMS version 5.5

You can retrieve this information from SYSUAF with $GETUAI, if you have
privilige to (SYSPRV needed to do it for any user).

> Please e-mail replies,

And where do you think we should send this e-mail, when you do not supply
an e-mail address ?

PS: I am not sure this is the rigth forum for that question (no MACRO or
    internals stuff involved), but maybe I am just a little tired rigth now.

                                                          Arne

Arne Vajhxj                             local DECNET:  KO::ARNE
Computer Department                     PSI:           PSI%23831001304030::ARNE
Business School of Southern Denmark     Internet:      ARNE@KO.HHS.DK

Xref: sparky vmsnet.internals:1451 vmsnet.misc:935 comp.lang.c:15021