Modify

Opened 15 years ago

Closed 15 years ago

#1636 closed Feature Request (Completed)

_Security_LookupAccountSID for Remote Systems

Reported by: SkinnyWhiteGuy Owned by: Jpm
Milestone: 3.3.7.0 Component: Standard UDFs
Version: Severity: None
Keywords: Cc:

Description

I was looking at reading SID values from a remote registry and then trying to lookup the account name for them, when I found that the included function in Security.au3 didn't have the ability to go from SID to Account Name remotely. Now, it can do it for Account Name to SID. I looked it up at MSDN, and it turns out it can be added just like it's partner function.

Here are the changes I made to my copy, and tested to see if it worked (which it does):

Line 257: add a '$sSystem = ""' as a parameter.
Line 268: change the DLLCall so the first parameter passed is a wstr, using $sSystem as it's value.

That's all that needs to be added to gain this functionality.

Thanks.

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by Jpm

  • Milestone set to 3.3.7.0
  • Owner changed from Gary to Jpm
  • Resolution set to Completed
  • Status changed from new to closed

Added by revision [5842] in version: 3.3.7.0

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jpm.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.