Okay I found the Win32::AdminMisc::RenameUser() on my own. I must have
looked over it the first time. That answers question 2. Now for question 1
:)
---------------------------------------------------------------
Robert Blake
Technical Systems Analyst
Intel Servers, IT Shared Services - Symcor Inc.
1 Robert Speck Parkway, Mississauga, Ontario
E-mail: [EMAIL PROTECTED]
---------------------------------------------------------------
[EMAIL PROTECTED]
Sent by: To:
[EMAIL PROTECTED]
[EMAIL PROTECTED] cc:
eState.com Subject: Win32
network administration problems
11/25/02 10:01 AM
Two questions.
1. I'm trying to get the users from a local group on the server with the
domain information. I.E. instead of 'rblake' it would show 'DOMAIN\Rblake'.
Win32::NetAdmin::GroupGetMembers() returns just the username and not the
domain. I also need to know this for adding the user to a group. Because
you can only specify the username in Win32::NetAdmin::GroupAddUsers() it
will check locally for the username, then the domain that your logged into.
What if the user exists locally, or exists on a different domain?
2. I would like to change the name of a local account. All account
modifications I've seen have been varing the username as the identifier, so
you can't change it.
Suggestions??
Thanks!
---------------------------------------------------------------
Robert Blake
Technical Systems Analyst
Intel Servers, IT Shared Services - Symcor Inc.
1 Robert Speck Parkway, Mississauga, Ontario
E-mail: [EMAIL PROTECTED]
---------------------------------------------------------------
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs