@@ -5,7 +5,7 @@ package Win32::NetAdmin;
5
5
# Written by Douglas_Lankshear@ActiveWare.com
6
6
#
7
7
8
- $VERSION = ' 0.01 ' ;
8
+ $VERSION = ' 0.02 ' ;
9
9
10
10
require Exporter;
11
11
require DynaLoader;
@@ -91,6 +91,11 @@ server is optional for all the calls below. (if not given the local machine is a
91
91
92
92
Return the name of the domain controller for server
93
93
94
+ =item GetAnyDomainController(server, domain, returnedName)
95
+
96
+ Return the name of any domain controller for a domain that is directly trusted
97
+ by the server
98
+
94
99
=item UserCreate(server, userName, password, passwordAge, privilege, homeDir, comment, flags, scriptPath)
95
100
96
101
Creates a user on server with password, passwordAge, privilege, homeDir, comment, flags, and scriptPath
@@ -139,7 +144,7 @@ Sets the comment
139
144
140
145
Adds a user to a group
141
146
142
- =item GroupDelUsers (server, groupName, users)
147
+ =item GroupDeleteUsers (server, groupName, users)
143
148
144
149
Deletes a users from a group
145
150
@@ -179,7 +184,7 @@ Fills userArray with the members of groupName
179
184
180
185
Adds a user to a group
181
186
182
- =item LocalGroupDelUsers (server, groupName, users)
187
+ =item LocalGroupDeleteUsers (server, groupName, users)
183
188
184
189
Deletes a users from a group
185
190
@@ -193,10 +198,6 @@ Gets an array of server names
193
198
=cut
194
199
195
200
sub AUTOLOAD {
196
- # This AUTOLOAD is used to 'autoload' constants from the constant()
197
- # XS function. If a constant is not found then control is passed
198
- # to the AUTOLOAD in AutoLoader.
199
-
200
201
my ($constname );
201
202
($constname = $AUTOLOAD ) =~ s / .*::// ;
202
203
# reset $! to zero to reset any current errors.
@@ -218,10 +219,6 @@ sub AUTOLOAD {
218
219
219
220
bootstrap Win32::NetAdmin;
220
221
221
- # Preloaded methods go here.
222
-
223
- # Autoload methods go after __END__, and are processed by the autosplit program.
224
-
225
222
1;
226
223
__END__
227
224
0 commit comments