Users Full-Name in Netware 3.12 
Author Message
 Users Full-Name in Netware 3.12

Hi.
Does anyone know how to get the users full name out of novells netware
3.12??
Reading the logname works great with API-Function wnetgetuser but this damn
fullname wont.

thanks for any help.
Ingo



Fri, 04 Aug 2000 03:00:00 GMT  
 Users Full-Name in Netware 3.12

Quote:

>Hi.
>Does anyone know how to get the users full name out of novells netware
>3.12??
>Reading the logname works great with API-Function wnetgetuser but this damn
>fullname wont.
>thanks for any help.
>Ingo

The VB Declaration is

'
'   ReadPropertyValue
'   Returns the value of a property associated with a bindary object
'
'   >ObName$    = Bindary object name
'   >ObType%    = Bindary object type
'   >PropName$  = Bindary property name
'                 IDENTIFICATION = Return objects full name
'   >SegNum%    = Bindary Segment number
'   <PropVal    = 128 bytes array of value of bindary property
'   <MoreSegs$  = 1 byte flag set if there are more segments to read
'   <PropFlags  = 1 byte flag set if the property is a bindary set
Declare Function ReadPropertyValue% Lib "NwNetAPI.DLL" (ByVal ObName$,
ByVal ObType%, ByVal PropName$, ByVal SegNum%, ByVal PropVal$, ByVal
MoreSegs$, ByVal Propflag$)

and the call is
'
'   Set Object type = 1 (USER)
'
    ObjectType% = 1
'
'   Get id information for the user id
'
    RetVal% = ReadPropertyValue(RTrim$(Myid), ObjectType%,
"IDENTIFICATION", 1, FullName, Segflag, Propflag)

Richard
Remove the xxx from my address to reply to me.
Richard Cole
---
Any views expressed are not necessarily the views of my employers,who may or may not have a view on this subject.



Fri, 04 Aug 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Users Long Name in netware 3.12

2. Netware 3.12 user id

3. Help with VB 4-16bit/Access 2 on Netware 3.12

4. Jet database and novell netware 3.12

5. Netware 3.12 and VB4 drive logging problems

6. VB3 Netware 3.12 print queues and high school students

7. DDE over a Netware 3.12 Network

8. NetWare 3.12 userlist command - VB3 equivalent

9. Access DB On Netware 3.12

10. login with netware 3.12 and vb 3.0

11. Attach to a NetWare 3.12 server / Mapping network drives

12. API call to get Netware user name from 32-bit client using MSFT Client for Netware

 

 
Powered by phpBB® Forum Software