| Previous | Next
Win32::NetAdminThe Win32::NetAdmin module provides extensive functionality for administering users and groups on Windows servers. This module does not implement an object interface for administration; it exports several functions that execute administrative commands. (This module does not load on Windows systems.) The following functions are provided by the Win32::NetAdmin module. The
GetDomainController (server, domain, $name) Returns the name of the domain controller for the specified
GroupAddUsers (server, name, users) Adds users to group name on
GroupCreate (server, name, comment) Creates a group with the specified name on
GroupDelete (server, name) Deletes a group named name from
GroupDeleteUsers (server, name, users) Deletes a list of users from the group
GroupGetAttributes (server, name, comment) Returns the comment for group name on
GroupGetMembers (server, name, $users) Returns the usernames that are members of group
GroupIsMember (server, name, user) Queries group name on
GroupSetAttributes (server, name, comment) Sets the comment for group name on
LocalGroupAddUsers (server, name, users) Adds users to local group name on
LocalGroupCreate (server, name, comment) Creates a local group with the specified
LocalGroupDelete (server, name) Deletes a local group named name from
LocalGroupDeleteUsers (server, name, users) Deletes a list of users from the local group
LocalGroupGetAttributes (server, name, $comment) Returns the comment for local group nameon server to the variable
LocalGroupGetMembers (server, name, \@users) Returns the usernames that are members of local group
LocalGroupIsMember (server, name, user) Queries local group name on
LocalGroupSetAttributes (server, name, comment) Sets the comment for local group name on
Creates a new user with the specified settings:
UserDelete (server, username) Deletes a user with username from
UserGetAttributes (server, username, $password, $passwordage, $privilege, $homedir, $comment, $flags, $scriptpath) Retrieves information from a user profile for the user identified by
UserSetAttributes (server, username, password, passwordage, privilege, homedir, comment, flags, scriptpath) Sets attributes for user username on |