Batch folder creation with user specific sharing and rights properties

Hello all,
I need to create folders for over 120 users.
Each folder has to have specific rights per user.
the basic structure goes
-sharepoint
--USER1
*---(user1) submit*
+(drop box - everyone, (user1) - read right + owner, admin group - read right)+
*---(user1) share*
+(everyone - read only, (user1) - read right + owner, admin group - read right )+
---(user1)
+((user1) - read right + owner, everyone - no access, admin group - read right)+
--USER2
---(user2)submit
+(drop box - everyone, (user2) - read right + owner, admin group - read right)+
---(user2)share
+(everyone - read only, (user2) - read right + owner, admin group - read right)+
---(user2)
+((user2) - read right + owner, everyone - no access, admin group - read right)+
bold - folder
italics - rights
level of folder
and so on 120 times..
this is going to be a tedious task to do by hand and i was wondering if there was anyway to batch process the task. i have user lists already all i need is a way to make it
Any ideas??
Thanks
Message was edited by: adam ramage

If the directory in which you are going to create the directories is called 'file-enclosing-directory', and the file is in your home directory on the server as "userlist" (one username per line), you can run this as a bash script, or from the command line. You will need to be a user that is able to change permissions within the directory.
Something like:
open Terminal
cd to the folder-enclosing-directory
for u in `cat ~/userlist`; do mkdir -p $u $u/submit $u/share; chmod 755 $u/share; chmod 773 $u/submit; chmod 751 $u; chown -R $u:admin $u; done
However, this will cause some problems getting to the interior folders without read permission on the outer folder. ACLs could help, or giving read permission to the $u folder, and having a locked-down third folder inside.
I hope this helps.

Similar Messages

  • I'm on a windows laptop using iTunes sharing through the family to connect with Apple TV. After choosing the folder of photos to be shared and displayed on the appletv and when I choose to show on screen, they are not shown in the order they are in the or

    I'm on a windows laptop using iTunes sharing through the family to connect with Apple TV.
    After choosing the folder of photos to be shared and displayed on the appletv and when I choose to show on screen, they are not shown in the order they are in the original folder.
    How to pair show in a certain order, for example, sorted by name.
    grateful
    Julio Cesar

    Not that I'm aware of. You just export JPEG copies to a folder that you can point iTunes to. For instance, I have created a folder in my Pictures folder called Apple TV. And within that folder I have other folders of pictures that I can choose from in iTunes to share with Apple TV. But there doesn't seem to be any way to share a Lightroom slideshow. If you have laid to create a video file that would probably work. Apple TV is a little clunky in my opinion. Some things are a little more difficult to do now than they were a while back. I probably haven't provided you with much help, but just keep experimenting and I think you will figure it out.

  • When am trying to download acrobot standard its prompting with user login password and its not getting downloaded.

    Hi
    When am trying to download acrobot standard its prompting with user login password and its not getting downloaded.

    When you (or someone) first switched on your computer, you (or someone) had to choose a password. This protects your computer, and you need it to install most software or change the system. We can't help you if you forget it, sorry.

  • Issues with language-specific characters and Multi Lexer

    I want to create a text index with global lexer and different languages. But how to create the index to satisfy all languages?
    Oracle EE 10.2.0.4 (UTF8) on Solaris 10
    1.) Create global lexer with german as default and czech, turkish as additional languages.
    begin
         ctx_ddl.drop_preference('global_lexer');
         ctx_ddl.drop_preference('german_lexer');
         ctx_ddl.drop_preference('turkish_lexer');
         ctx_ddl.drop_preference('czech_lexer');
    end;
    begin
         ctx_ddl.create_preference('german_lexer','basic_lexer');
         ctx_ddl.create_preference('turkish_lexer','basic_lexer');
         ctx_ddl.create_preference('czech_lexer','basic_lexer');
         ctx_ddl.create_preference('global_lexer', 'multi_lexer');
    end;
    begin
         ctx_ddl.set_attribute('german_lexer','composite','german');
         ctx_ddl.set_attribute('german_lexer','mixed_case','no');
         ctx_ddl.set_attribute('german_lexer','alternate_spelling','german');
         ctx_ddl.set_attribute('german_lexer','base_letter','yes');
         ctx_ddl.set_attribute('german_lexer','base_letter_type','specific');
         ctx_ddl.set_attribute('german_lexer','printjoins','_');
         ctx_ddl.set_attribute('czech_lexer','mixed_case','no');
         ctx_ddl.set_attribute('czech_lexer','base_letter','yes');
         ctx_ddl.set_attribute('czech_lexer','base_letter_type','specific');
         ctx_ddl.set_attribute('czech_lexer','printjoins','_');
         ctx_ddl.set_attribute('turkish_lexer','mixed_case','no');
         ctx_ddl.set_attribute('turkish_lexer','base_letter','yes');
         ctx_ddl.set_attribute('turkish_lexer','base_letter_type','specific');
         ctx_ddl.set_attribute('turkish_lexer','printjoins','_');
         ctx_ddl.add_sub_lexer('global_lexer', 'default', 'german_lexer');
         ctx_ddl.add_sub_lexer('global_lexer', 'czech',   'czech_lexer',   'CZH');
         ctx_ddl.add_sub_lexer('global_lexer', 'turkish', 'turkish_lexer', 'TRH');
    end;
    /2.) Create table and insert data
    drop table text_search;
    create table text_search (
         lang   varchar2(5)
       , name   varchar2(100)
    insert into text_search(lang, name) values ('DEH', 'Strauß');
    insert into text_search(lang, name) values ('DEH', 'Möllbäck');
    insert into text_search(lang, name) values ('TRH', 'Öğem');
    insert into text_search(lang, name) values ('TRH', 'Öger');
    insert into text_search(lang, name) values ('CZH', 'Tomáš');
    insert into text_search(lang, name) values ('CZH', 'Černínová');
    commit;3.) The index creation now produces different results depending on the language settings:
    -- *Option A)*
    alter session set nls_language=german;
    drop index i_text_search;
    create index i_text_search on text_search (name)
       indextype is ctxsys.context
            parameters ('
                    section group CTXSYS.AUTO_SECTION_GROUP
                    lexer global_lexer language column lang
                    memory 300000000'
    select * from dr$i_text_search$I;
    -- *Option B)*
    alter session set nls_language=turkish;
    drop index i_text_search;
    create index i_text_search on text_search (name)
       indextype is ctxsys.context
            parameters ('
                    section group CTXSYS.AUTO_SECTION_GROUP
                    lexer global_lexer language column lang
                    memory 300000000'
    select * from dr$i_text_search$I;
    -- *Option C)*
    alter session set nls_language=czech;
    drop index i_text_search;
    create index i_text_search on text_search (name)
       indextype is ctxsys.context
            parameters ('
                    section group CTXSYS.AUTO_SECTION_GROUP
                    lexer global_lexer language column lang
                    memory 300000000'
    select * from dr$i_text_search$I;And now I get different:
    Option A)
    dr$i_text_search$I with nls_language=german:
    STRAUß
    STRAUSS
    MOLLBACK
    OĞEM
    OGER
    TOMAŠ
    ČERNINOVA
    Problems, e.g.:
    A turkish client now does not find his data (the select returns 0 rows)
    alter session set nls_language=turkish;
    select * from text_search
    where contains (name, 'Öğem') > 0;
    Option B)
    dr$i_text_search$I with nls_language=turkish:
    STRAUß
    STRAUSS
    MÖLLBACK
    ÖĞEM
    ÖGER
    TOMAŠ
    ČERNINOVA
    Problems, e.g.:
    A czech client now does not find his data (the select returns 0 rows)
    alter session set nls_language=czech;
    select * from text_search
    where contains (name, 'Černínová') > 0;
    Option C)
    dr$i_text_search$I with nls_language=czech:
    STRAUß
    STRAUSS
    MOLLBACK
    OĞEM
    OGER
    TOMAS
    CERNINOVA
    Problems, e.g.:
    A turkish client now does not find his data (the select returns 0 rows)
    alter session set nls_language=turkish;
    select * from text_search
    where contains (name, 'Öğem') > 0;
    ----> How can these problems be avoided? What am I doing wrong?

    You need to change your base_letter_type from specific to generic. Also, if you are going to use both alternate_spelling and base_letter in your german_lexer, then you might want to set override_base_letter to true. Please see the run of your code below, with those changes applied. The special characters got mangled in my spool file, but hopefully you get the idea.
    SCOTT@orcl_11gR2> begin
      2            ctx_ddl.drop_preference('global_lexer');
      3            ctx_ddl.drop_preference('german_lexer');
      4            ctx_ddl.drop_preference('turkish_lexer');
      5            ctx_ddl.drop_preference('czech_lexer');
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> begin
      2            ctx_ddl.create_preference('german_lexer','basic_lexer');
      3            ctx_ddl.create_preference('turkish_lexer','basic_lexer');
      4            ctx_ddl.create_preference('czech_lexer','basic_lexer');
      5            ctx_ddl.create_preference('global_lexer', 'multi_lexer');
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> begin
      2            ctx_ddl.set_attribute('german_lexer','composite','german');
      3            ctx_ddl.set_attribute('german_lexer','mixed_case','no');
      4            ctx_ddl.set_attribute('german_lexer','alternate_spelling','german');
      5            ctx_ddl.set_attribute('german_lexer','base_letter','yes');
      6            ctx_ddl.set_attribute('german_lexer','base_letter_type','generic');
      7            ctx_ddl.set_attribute('german_lexer','override_base_letter', 'true');
      8            ctx_ddl.set_attribute('german_lexer','printjoins','_');
      9 
    10            ctx_ddl.set_attribute('czech_lexer','mixed_case','no');
    11            ctx_ddl.set_attribute('czech_lexer','base_letter','yes');
    12            ctx_ddl.set_attribute('czech_lexer','base_letter_type','generic');
    13            ctx_ddl.set_attribute('czech_lexer','printjoins','_');
    14 
    15            ctx_ddl.set_attribute('turkish_lexer','mixed_case','no');
    16            ctx_ddl.set_attribute('turkish_lexer','base_letter','yes');
    17            ctx_ddl.set_attribute('turkish_lexer','base_letter_type','generic');
    18            ctx_ddl.set_attribute('turkish_lexer','printjoins','_');
    19 
    20            ctx_ddl.add_sub_lexer('global_lexer', 'default', 'german_lexer');
    21            ctx_ddl.add_sub_lexer('global_lexer', 'czech',   'czech_lexer',   'CZH');
    22            ctx_ddl.add_sub_lexer('global_lexer', 'turkish', 'turkish_lexer', 'TRH');
    23  end;
    24  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> drop table text_search;
    Table dropped.
    SCOTT@orcl_11gR2> create table text_search (
      2         lang      varchar2(5)
      3       , name      varchar2(100)
      4  );
    Table created.
    SCOTT@orcl_11gR2> insert into text_search(lang, name) values ('DEH', 'Strauß');
    1 row created.
    SCOTT@orcl_11gR2> insert into text_search(lang, name) values ('DEH', 'Möllbäck');
    1 row created.
    SCOTT@orcl_11gR2> insert into text_search(lang, name) values ('TRH', 'Öğem');
    1 row created.
    SCOTT@orcl_11gR2> insert into text_search(lang, name) values ('TRH', 'Öger');
    1 row created.
    SCOTT@orcl_11gR2> insert into text_search(lang, name) values ('CZH', 'Tomáš');
    1 row created.
    SCOTT@orcl_11gR2> insert into text_search(lang, name) values ('CZH', 'ÄŒernÃnová');
    1 row created.
    SCOTT@orcl_11gR2> commit;
    Commit complete.
    SCOTT@orcl_11gR2>
    SCOTT@orcl_11gR2> -- *Option A)*
    SCOTT@orcl_11gR2> alter session set nls_language=german;
    Session altered.
    SCOTT@orcl_11gR2> drop index i_text_search;
    drop index i_text_search
    ERROR at line 1:
    ORA-01418: Angegebener Index ist nicht vorhanden
    SCOTT@orcl_11gR2> create index i_text_search on text_search (name)
      2       indextype is ctxsys.context
      3            parameters ('
      4                 section group CTXSYS.AUTO_SECTION_GROUP
      5                 lexer global_lexer language column lang
      6                 memory 300000000'
      7            );
    Index created.
    SCOTT@orcl_11gR2> select token_text from dr$i_text_search$I;
    TOKEN_TEXT
    AYEM
    AŒERNA
    CK
    GER
    LLBA
    MA
    NOVA
    STRAUAY
    TOMA
    9 rows selected.
    SCOTT@orcl_11gR2> alter session set nls_language=turkish;
    Session altered.
    SCOTT@orcl_11gR2> select * from text_search
      2  where contains (name, 'Öğem') > 0;
    LANG
    NAME
    TRH
    Öğem
    1 row selected.
    SCOTT@orcl_11gR2>
    SCOTT@orcl_11gR2> -- *Option B)*
    SCOTT@orcl_11gR2> alter session set nls_language=turkish;
    Session altered.
    SCOTT@orcl_11gR2> drop index i_text_search;
    Index dropped.
    SCOTT@orcl_11gR2> create index i_text_search on text_search (name)
      2       indextype is ctxsys.context
      3            parameters ('
      4                 section group CTXSYS.AUTO_SECTION_GROUP
      5                 lexer global_lexer language column lang
      6                 memory 300000000'
      7            );
    Index created.
    SCOTT@orcl_11gR2> select token_text from dr$i_text_search$I;
    TOKEN_TEXT
    AYEM
    AŒERNA
    CK
    GER
    LLBA
    MA
    NOVA
    STRAUAY
    TOMA
    9 rows selected.
    SCOTT@orcl_11gR2> alter session set nls_language=czech;
    Session altered.
    SCOTT@orcl_11gR2> select * from text_search
      2  where contains (name, 'ÄŒernÃnová') > 0;
    LANG
    NAME
    CZH
    ÄŒernÃnová
    1 row selected.
    SCOTT@orcl_11gR2>
    SCOTT@orcl_11gR2> -- *Option C)*
    SCOTT@orcl_11gR2> alter session set nls_language=czech;
    Session altered.
    SCOTT@orcl_11gR2> drop index i_text_search;
    Index dropped.
    SCOTT@orcl_11gR2> create index i_text_search on text_search (name)
      2       indextype is ctxsys.context
      3            parameters ('
      4                 section group CTXSYS.AUTO_SECTION_GROUP
      5                 lexer global_lexer language column lang
      6                 memory 300000000'
      7            );
    Index created.
    SCOTT@orcl_11gR2> select token_text from dr$i_text_search$I;
    TOKEN_TEXT
    AYEM
    AŒERNA
    CK
    GER
    LLBA
    MA
    NOVA
    STRAUAY
    TOMA
    9 rows selected.
    SCOTT@orcl_11gR2> alter session set nls_language=turkish;
    Session altered.
    SCOTT@orcl_11gR2> select * from text_search
      2  where contains (name, 'Öğem') > 0;
    LANG
    NAME
    TRH
    Öğem
    1 row selected.
    SCOTT@orcl_11gR2>

  • Issue with user exit ZXPADU01 and ZXPADU02

    Hi,
    I am trying to change the existing record for the info type 0015 for an employee in Pa30 transaction.
    my requirement is i need old value and new value when i am changing the existing record in info type 0015.
    When i kept break point in user exit ZXPADU01 it is not triggering it is triggering only when we creating the record.
    i tried with user exit ZXPADU02 it is not working as per my requirement.
    My requirement is :whenever i am changing the existing record(modifying record) i need old value and new value.
    Anybody can suggest me how to fix this issue.
    Thanks,
    Maheedhar

    Dear Maheedhar,
    The best way to achieve this requirement is to use the PAI user exit ZXPADU02 import parameter PSAVE. The PSAVE parameter contains the PBO original / initial record, before any changes take place.
    The INNNN parameter contains the current PAI record as usual, in order to be used for customer check and new values. Thus, you've got both the old and the new record in place, and you can make your comparison according to the business requirements:

  • Script to find the list of Queries currently running in database with User Login Name and Host Name.

    Hai,
    How to find the list of queries currently running in the Database with User Login Information.
    Since my database application is running slow, to find the slow queries.

    Try the below query
    SELECT r.start_time [Start Time],r.session_id [SPID],
    DB_NAME(database_id) [Database],
    s.host_name,
    s.program_name,
    s.login_name,
    SUBSTRING(t.text,(r.statement_start_offset/2)+1,
    CASE WHEN statement_end_offset=-1 OR statement_end_offset=0
    THEN (DATALENGTH(t.Text)-r.statement_start_offset/2)+1
    ELSE (r.statement_end_offset-r.statement_start_offset)/2+1
    END) [Executing SQL],
    r.status,command,wait_type,wait_time,wait_resource,
    last_wait_type
    FROM sys.dm_exec_requests r
    OUTER APPLY sys.dm_exec_sql_text(sql_handle) t
    inner join sys.dm_exec_sessions s
    on s.session_id = r.session_id
    WHERE r.session_id !=@@SPID -- don't show this query
    AND r.session_id > 50 -- don't show system queries
    ORDER BY r.start_time
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • When i try to download firefox i get a popup with user name administrator and looking for apassword

    when I try to download firefox I get as far as extracting then I get a popup saying that I may not have the necessary permission to access all the features of the program I get 2 choices 1 to run the program as the current user 2 I am given user name administrator and it looks for a password.When I try a password I get login failed bad password. When I try to run it as current use it will still not download

    SAVE the installer to your hard drive (do not use the "Run" option); save it to your Desktop so that you can find it. When the download is complete, close whatever browser you have open, click or double-click the file you downloaded and see if it installs without a problem.
    The downloader is a self-extracting archive and should not need or use 7-zip. I have 7-zip installed on my system and it does not interfere with nor is it used in the Firefox install process. Hopefully, you have not set the downloading of .exe files to be associated with 7-zip.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Keyboard problems with Enter, delete, backspace, and right/left arrows

    In some applications, such as Yahoo and this message block right now !!, when composing a message, the arrow keys and delete, backspace keys become non responsive. Various ones will work on a random basis.
    I am getting double "carriage returns" also. Maybe this is why in Omegle when I press ENTER, it will not post a chat message; it will bring up a scroll box and for me to post the comment, I have to use the mouse to click ENTER.
    I have changed batteries in my keyboard, uninstalled /reinstalled Firefox. I have checked the above websites in Chrome and other browsers, and there are no problems.
    This has happened before, I don't recall what the solution was or if it just went away.'''
    Affected sites -- at least these
    http://us.mg6.mail.yahoo.com/neo/launch?ncrumb=Fx5R4O7ccqb&.rand=1041364415&nmig=yes#
    http://omegle.com/
    https://support.mozilla.com/en-US/questions/new?product=beta&category=b2&search=Keyboard+problems+with+Enter%2C+delete%2C+backspace%2C+and+right%2Fleft+arrows&showform=1

    PROBLEM SOLVED: http://forum.archlinux-br.org/viewtopic.php?id=1257
    Solution posted on Brazilian Archlinux forum. Credits to user "920608".
    [cache]
    /etc/xorg.conf
    Section "Files"
             #RgbPath "/usr/X11R6/lib/X11/rgb"
    EndSection
    Section "ServerFlags"
               Option "AutoAddDevices" "False"
    EndSection
    C'ya

  • How do I deal with audio, seperate left and right and make each stereo--CS5

    I have a two mono mike recording which I can seperate into two seperate audio timeline tracks one is now left track in a seperate timline and the other is right in the other timeline, how do I make each of these tracks then into psuedo stereo tracks?  Do I have to go to Soundbooth or is there a simple way in Premiere?

    Bill G, tell me what I am missing and I'll use your method.  I have what I think you are describing, and I don't understand the need to do anything special, if you use channel mapping.
    I record a lav on one channel, and a different wireless mic on the other.  When captured, I have a clip that PR would normally treat as a single stereo track.
    BEFORE putting any clips on the timeline, select all clips and set channel mapping.  Set each channel to mono.  Now PR treats these as two mono tracks.  The output for each mono is the master track, which in my project is stereo.  I can change "volume" for each track in the mixer, etc.  but each channel is provided to the left and right  master output.
    I didn't go back to sort out what you had, but if you had two stereo tracks, one each with a left and right channel only, I can see that you needed some other solution.

  • Clips import with black edges left and right

    I viewed my clip (avi file) using quicktime to confirm that it was the right one that i wanted to import and it looked fine. Then i imported into imovie and it doesn't fit the whole screen. It's got about 1/8 inch of black along the left and right. The weird thing is that when i import photos it does the same thing but i scale them to 102 % to correct. How can I correct this?

    bear in mind that tv broadcasts are often stretched/zoomed/cropped etc to make it appear that it is widescreen, when really it is 4:3.
    also it is possible that your TV is simply stretching to make it fill your screen.
    your TV may be able to stretch it to fill the screen, but the appletv will always output it in the correct aspect ratio.
    also it is only recently that most of the tv output has been widescreen. 6 years ago when wire season 1 was produced, 4:3 non-widescreen was very much the norm, especially in USA.

  • React on a transaction with user specific code

    Hello,
    I am new in the field of SAP development and I have some questions about the general strategy.
    It's the task to react on a transaction in SAP (an order generated by a user in the SAP system). After the order is done I have to control a Lego train (It's for a university project for education purposes). Therefore it's necessary to call own code.
    I searched a little bit in the SAP help and found these possible solutions: BAPI's and RFC or the IDOC-Interface. So my first question: where can I find the BAPI C++ library for download? There is no clue in the help.
    And my second question: is there a way to inject own functions e.g. via DLL? When I understand the BAPI/RFC right, than I have to program a stand alone server and SAP system calls the server. So I need a "real standalone, external" program. That's a little bit overhead for my concerns I think. So is there a way to insert a function like a plugin and than to call the function like a trigger?
    And a third suggestion was to use a shared folder for data exchange via files. Is this (simple) solution possible? I found nothing during my searches about this.
    Thx a lot for your help!
    Best regards
    Pellaeon

    Hi Gilad,
    There are some ways to call BAPI functions on SAP. First one; you can use librfc32.dll for non-unicode and librfc32u.dll for unicode applications, in order to call function modules remote on SAP. Second one; you can create C++ BAPI proxy classes by using SAP Assistant which is delivered by SAPGUI. This is hardest way. Since simplfy the development, I strongly recommend that you develop "Tcp Server application". You can find several samples on internet, about it.
    Second question is "is there a way to inject own functions e.g. via DLL?". The answer is yes but no. Do not confuse regarding my answer. This is because, you can use remote threading (named as injection) in order to perform functions on the instance. I said "no" also, because kernel functions are not well documented. So, SAP do not support plug-in development at kernel level by 3rd parties (unless you deal with SAP). I worked about remote threading issue on SAP, previously. All in all, it depends how you have dominated know-how about remote threading.
    Third answer is; the best way to be read files by SAP is storing files on application server level. So you can share that directory and perform your functions successfully with the required authorizations.
    Best regards,
    Orkun Gedik

  • How to Substitute CoA GL Text with User specific GL Text in reports

    Hello Experts,
    We have one Chart of Account shared by many countries in different company codes. So, it is not possible to change English text of GL accounts for country specific requirement. I had a way out by making country chart of account but customer did not want it to avoid complexities. Therefore, is there a way to maintain India specific text for some selective GLs and replicate it in the reports. Users are fine with doing entries with existing text. Only problem is with reports to show it to external parties.
    Please advise and send your expert comments!
    Thank you,
    With Kind Regards,
    Naresh B. Pandya

    If you put a formatting trigger on any item or frame and return FALSE, it will disappear.
    So the totals need to be within a frame which has a trigger which returns false if text file is chosen.

  • Setting Initial View Folder for All Users at Once and Forever. How???

    <p>Is there any way to make the initial view of all users to be a specific folder? What I want to acomplish it to show my public folders expanded and always showing a specific folder. I can do it for myselft but what about a global setting?</p>

    I tried the following code and it does not appear to work.  Why?
    Our goal is to take the destop preferences of a selected user and apply those preferences to all other users.  How can that be done?  Note:  We need to apply those preferences whether they have already set their preferences or not.
         Dim oSourceUser As InfoObject
                Dim oTargetUsers As InfoObjects
                bErrorOccurred = False
                oSourceUser = oInfoStore.NewInfoObjectCollection().InfoStore.Query("SELECT SI_NAME, SI_DATA FROM CI_SYSTEMOBJECTS WHERE SI_PROGID = 'CrystalEnterprise.User' And SI_Name = '" & vstrSourceUserID & "'").Item(1)
                If vstrTargetUserID.Length > 0 Then
                    oTargetUsers = oInfoStore.NewInfoObjectCollection().InfoStore.Query("SELECT SI_NAME, SI_DATA FROM CI_SYSTEMOBJECTS WHERE SI_PROGID = 'CrystalEnterprise.User' And SI_Name = '" & vstrTargetUserID & "'")
                Else
                    oTargetUsers = oInfoStore.NewInfoObjectCollection().InfoStore.Query("SELECT SI_NAME, SI_DATA FROM CI_SYSTEMOBJECTS WHERE SI_PROGID = 'CrystalEnterprise.User' And SI_Name != '" & vstrSourceUserID & "'")
                End If
                For Each oUser As InfoObject In oTargetUsers
                    Try
                        oUser.Properties.Add("SI_DATA", oSourceUser.Properties("SI_DATA").Properties)
                    Catch ex As Exception
                        bErrorOccurred = True
                        If ex.Message.Length = 0 Then
                            strLastError = "Unknown Error Occurred"
                        Else
                            strLastError = ex.Message
                        End If
                        Exit For
                    End Try
                Next
                If bErrorOccurred = False Then oInfoStore.Commit(oTargetUsers)

  • Batch Folder Creation

    Is there a way to create a set of folders based on my list of users.
    I can export the users as a text list, but I have no idea how to then use this list to create a list of folders. Is this possible. Something like the createhomedir would be good, but I don't want the folders to end up in the home folder location.
    Any advice would be greatly appreciated

    I have a beautifully organized list of keywords from Lightroom that goes like this :
    Fauna
    Animalia
    Arthropoda
    Insecta
    Diptera
    Bombyliidae
    Bombylius major
    Muscidae
    Musca domestica
    Hymenoptera
    Apidae
    Apis mellifera
    etc...
    If possible, how do I change the script to make it work with this more complex text hierarchy and create subfolders ?
    Any ideas ?
    Thanks for your help
    Message was edited by: ƒred

  • My Apple TV is locked on a screen with the home sharing and settings icons in the bottom half of frame and won't let me go back to main menu.

    Apple TV locked on screen with settings and home sharing icons in bottom half and won't let me move back to main menu. Anyone know how to fix it?

    Try the following steps, check whether things are working after each step where appropriate, before trying the next.
    Restart the Apple TV (Settings > General > Restart).
    Restart the Apple TV by removing ALL the cables for 30 seconds.
    Restart your router. (Also try removing it’s power cord for at least 30 seconds)
    Reset the Apple TV (Settings > General > Reset > Reset all settings)
    Restore the Apple TV (Settings > General > Reset > Restore)

Maybe you are looking for