vaya Posted May 28, 2008 Share Posted May 28, 2008 hello every body, I would like to get some help, I need to set some permession with secedit template on a folder. This template looks like [unicode] Unicode=yes [Version] signature="$CHICAGO$" Revision=1 [File Security] "D:\FOLDER",0,"D:PAR(A;OICIIO;FA;;;CO)(A;OICI;FA;;;SY)(A;OICI;FA;;;BA)(A;OICI;0x1200a9;;;BU)(A;OICI;0x1301bf;; ;GROUPENAME)" ------------------ the prblem I have that I don t want to use a group name to set the permession, because a groupe name might have the same name in different domains, That s whay I want to use SID( security ID).What I want is to read the groupname from INFile ( the group name ist not constant ) but it s always almost at the end before )". can anybody help Link to comment Share on other sites More sharing options...
ACS Posted May 28, 2008 Share Posted May 28, 2008 Just so I understand-- you're trying to read the string "GROUPNAME" but everything else is constant? Link to comment Share on other sites More sharing options...
vaya Posted May 29, 2008 Author Share Posted May 29, 2008 YEs, the group name always changes, it up up to domain where the user ist, the groupname has a name convention like XXXX_Grp_SWXXXX. what I want to read is this group name which is a string in the inf file which is always bevore caracter )" in the inf file. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now