Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


w95MemberGet and wNTMemberGet

Keywords:    w95MemberGet wNTMemberGet 

Question on wntMemberGet with Novell Servers:

We have a Novell 3.1x network with some Win95 and some WinNT stations running Microsoft's client for NetWare.

I need to write a script to determine if these clients are members of a specified group on their Novell servers. The n3GetMember extender works for my Novell clients, but the w95MemberGet and wntMemberGet extenders don't work for the Win95/NT workstations.

The error messages are:

-- for Win95 a 591 Error: Function not available.
-- for WinNT a 524 Error: Unable to access specified server.
(even though Debug shows all entries in the line to be valid resources.)

Answer:

w95MemberGet and wntMemberget can only talk with NT servers. They don't communicate with Novell servers.

The only way we can talk directly with Novell Servers is via the Novell Client.

The Win95 error you are getting may indicate a back-dated DLL is present, or that you do not have the radmin32.dll (or something like that...
see the note in the help file).

But in any case it is just going to talk with NT servers.


Question on w..MemberGet and Getting Local Groups:

I need to simply see if a user is a member of the local Admin group (or any other local group)? I don't want to know any password information, just group membership status. I need to retrieve this information from Win95 local groups also. It's not apparent that the Win95 functions allow local groups to be searched. Any ideas?

Answer:

They don't. In general I think local groups must be accessed only on the machine the script is running on, by definition any Win95 or Win95X machines are not running NT groups.

What Should Server Name Point To?:

In the wntMemberGet function, what should the server-name point to? I am not clear on the information given in help. It says that the server-name is the name of a network file server. What does that mean? Would that information be in the registry?
	wntMemberGet(server-name,group-name,user-name,group-type) 

Answer:

  1. Different NT servers might have different information. It depends on how your network is set up.

  2. Maybe give it the name of your PDC.

  3. For big networks you may want to gather the information dynamically. See wntUserInfo and wntUserProps.

Article ID:   W13558
Filename:   w95MemberGet and wNTMemberGet.txt