Modify

Opened 16 years ago

Closed 16 years ago

#1636 closed Feature Request (Completed)

_Security_LookupAccountSID for Remote Systems

Reported by: SkinnyWhiteGuy Owned by: J-Paul Mesnage
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 by J-Paul Mesnage, 16 years ago

Milestone: 3.3.7.0
Owner: changed from Gary to J-Paul Mesnage
Resolution: Completed
Status: newclosed

Added by revision [5842] in version: 3.3.7.0

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.