|
|
|||||||
I see SidtoName to convert SIDS to a valid user name but I need to convert a username to a SID. I saw the @sid variable but this would not work in my case because I don't want the sid of the current logged in user but rather the sid of a user account that is read from a text file. Searched the forum and was not able to find anything. Does anyone know of such a script or utility or a way to do this in kix. Thanks, |
||||||||
|
|
|||||||
First off, you posted to the wrong forum. This one is for posting scripts and there is no script in your post. As for not finding anything, not sure what search terms you tried because I know for a fact there are UDFs posted cuz one of them GetSID() is mine. |
||||||||
|
|
|||||||
there are some UDFs for this... an example: http://www.kixtart.org/ubbthreads/showflat.php?Cat=&Number=83409&page=27&view=collapsed&sb=3&o=all&fpart=1 |
||||||||
|
|
|||||||
Interesting how close the subject is to Jooel's UDF name. Have to wonder what key words you searched on. BTW, I like his UDF better than mine. |
||||||||
|
|
|||||||
les, ja. I searched with "name to sid" and your getsid() did not come up with results. there came about 20 totally unrelated udfs along mine. will have to think about improving the search engine on udf-collection... what comes to which is more to like, dunno. know that both use different methods and both have own limitations. |
||||||||
|
|
|||||||
LOL I saw that too. I don't have the word "name" anywhere in my UDF. Maybe I should hide some keywords in meta tags. Reducing the search to just "SID", yours shows up on page 3. Need to dive pretty deep to find mine. |
||||||||
|
|
|||||||
ja, but instead of digging the board, I plan on doing a scoring search engine on the udflib. although it's currently (iirc) just an perl script, probably will convert it to TCL and output some nice juice from it. anyway, a normal scoring engine would not have helped in your udf case. but it most likely would have put my UDF as a first result. |
||||||||
|
|
|||||||
Sorry about posting to the wrong forum....I searched for the following: NameToSid Sid and account Sid and user Sid and Username Sid and User Name The wierd thing about the UDF section is that i cant seem to find a direct link to he udf's themself...just to the forum...i'm probaby just missing it though |
||||||||
|
|
|||||||
Cannot find what you are looking for? Pay close attention to: Defaults to "Entire Phrase" You can change it to: And ... forget "Entire Phrase" and go for "AND" Also: scroll down to the bottom of the page where you see Extra information and under that you will see a Show dropdown list with a Change button. Change the option to from all dates and click the Change button. |
||||||||
|
|
|||||||
yep, you are. anyways, if you want to really look at the UDFs, I insist you take a lookie at: www.gwspikval.com/jooel/UDF and dive in! |
||||||||
|
|
|||||||
Thanks for the help guys!! |