Removing and granting permissions - can item.systemupdate(false) be used
Hi,
When removing and granting permissions programmatically, can the item.systemupdate(false) be used?
I have used the below code for removing permissions. Is this systemupdate(false) the right thing to use or item.update?
oSPWeb.AllowUnsafeUpdates = true;
CurrentlistItem.BreakRoleInheritance(false);
oSPWeb.AllowUnsafeUpdates = true;
using (DisabledItemEventsScope scope = new DisabledItemEventsScope())
CurrentlistItem.SystemUpdate(false);
//or is it better to use - CurrentlistItem.Update();
Thanks
you should not need the DisabledItemEventsScope.
You do not need to use SsytemUpdate.
You *probably* don't even need to use AllowUnsafeUpdates.
just BreakRoleInheritance and then Update.
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com
Strategic Data Systems - for all your SharePoint needs
Similar Messages
-
Signal to phone varies between 4G and 1X. Can that be improved without using antennae.
Signal strength varies from 4G to 1X, is there an adjustment in the phone to correct or is it necessary to buy xtra antennae.
Thank you for replying.
Signal varies in 61822 and 33917 zip codes. The incline plane emblem next
to battery icon never shows strength greater than just the tip of the
indicator except when I go to Verizon corporate store where they have a
booster. It happens in and out doors. I have not removed the sim card. This
is a Motorola RAZR M with a number on back - CEO 168
[image: Verizon Wireless
Community]<http://community.verizonwireless.com>
<http://www.verizonwireless.com/b2c/index.html>
<http://www.verizonwireless.com/b2c/explore>
<http://www.verizonwireless.com/b2c/store/controller?item=phoneFirst&action=viewShopIndex>
<https://wbillpay.verizonwireless.com/vzw/nos/topline.jsp>
<http://support.verizonwireless.com/clc/> Re:
Signal to phone varies between 4G and 1X. Can that be improved without
using antennae. created by Verizon Wireless Customer
Support<https://community.verizonwireless.com/people/vzw_customer_support>in
Android - View the full
discussion<https://community.verizonwireless.com/message/1026021#1026021> -
I just installed Adobe InDesign CC 2014 and now I can't scale objects/type using Command+Shift Key. Has anyone else had this problem and if so, any solution?
There is a conflict with third party software or your system keyboard shortcuts. Lately, there have been many postings about conflicts with Chrome extensions so check there first.
It's not a new problem. I wrote about it on InDesignSecrets.com in 2006:
The Missing Keystrokes Mystery | InDesignSecrets -
A few days ago, my mom synced her ipod to her itunes and a bunch of the music files i have got synced to her ipod touch. How do i delete them. They show up on the ipod, but not in the manually added songs list. I have tried many things short of downloading ios 5. I open the ipod, clicked manually music and videos... click music... but i dont see the unwanted songs to delete. I see the songs she did want. Help please.
Message was edited by: gcmusicluver- If the iPod has iOS 5 then she swipe the song left or right and a tap the Delete button.
- If she does not then she will have to connect to computer and unsync them. -
I have to remove and reinstall Flash Player 11.3 everyday! How can I fix it?
I use Firefox and IE. Everyday I have to remove and reinstall flash player to be able to use it. Every day I receive the message that I don't have F player installed and I have to download it. I check add-ons and I can't find it there but it's installed in program,s and features in my control panel. I'm usin win 7 32-Bit and I always download the latest 11.3 F player. I'm tired of going through the same process everyday! BTW, I delete all my cookies and browsing history every time I want to close my explorers. But it's not new I've always done that but the problem with the lawstest F player is quite recent since the first time I download F player 11.3! Please help me.
It sounds like you might be running into a Windows permission issue, please try the instructions in this FAQ:
How do I fix Windows permission problems with Flash Player?
Thanks,
Chris -
Set default directory and file permissions
I'm trying to use setfacl to set the default permissions for directories and files but I get an error saying "sudo: setfacl: command not found." What I am trying to do is share a specific directory on a local external drive connected by Thunderbolt. Everyone in the group has access to the drive and can view all the files but once a new file is created, the group permissions are not updated. Here is an example of two PDF file. The one created by userA only has permissions for that user where the file created by userB allows all users to open and modity the file.
-rw------- 1 userA staff 1988176 Feb 13 15:09 TestFile01.pdf
-rwxr-----+ 1 userB staff 1827102 Feb 13 15:05 TestFile02.pdf
0: group:MarketingGroup allow read,write,append,readattr,writeattr,readextattr,writeextattr,readsecurity
I can manually update the permissions through the Get Info window but this requires me to reset permissions every time a person saves a new file to the drive. There needs to be a way to do this automatically.
Here is what I tried but the setfacl command is not supported.
sudo setfacl -Rdm g:GroupName:rwx /DirectoryPathThanks Frank. I have an externat drive connected to my Mac via Thunderbolt. On this drive I have a specific directory that I'm shairing with Mac and PC users. I've created a group on the network to limit access to this directory to specific users. That works perfectly. The issue I'm having is when one of these users creates a new file in this directory or any of it's subdirectories, no one has permission to open or edit the file. Right now I'm using Get Info to modify the permissions of the folder and all enclosed items. When I check the permissions of the files I've "corrected" I notice this extra imformation "0: group:MarketingGroup allow read,write,append,readattr,writeattr,readextattr,writeextattr,readsecurity." This is not included when I check the permissions of items saved by other uses in the group.
So my question is how do I set the default permissions for this directory so every new file and directory will have the correct permissions to allow anyone in this group full access to open and modify every file?
Thanks for your help!!!! -
Adobe reader 10.0.1. not working but tried to remove and it won't
Why can't I remove adobe reader 10.0.1. It wo
n't work and I want to download a lower version but no such luckI get a message saying it can't open the patch. I have tried everything
I can think of to remove and reinstall but can't remove because it can't open the patch -
keep getting "not responding" message, extremely slow, have tried rebuilding data base, tried removing and re-installing. Still the same
Do you use McAfee anti-virus software?
If yes, please read:
* https://wiki.mozilla.org/Thunderbird:Testing:Antivirus_Related_Performance_Issues#McAfee
Is this an Imap mail account?
if yes, you can choose to only synchronize the most recent of emails instead of a whole folder.
see info :
* https://support.mozilla.org/en-US/kb/imap-synchronization#w_configuring-synchronization-and-disk-space-usage
Make sure you compact folders on a regular basis to remove all 'marked as deleted' emails.
Tools -> Account Settings -> Server Settings -> Clean up ("Expunge") Inbox on Exit will compact the Inbox folder when you exit Thunderbird. If you check "Empty Trash on Exit" it will also empty and compact the Trash folder when you exit. -
I manually deleted back-ups from Time Machine and now I can't empty the trash
I manually deleted back-ups from Time Machine and now I can't empty the trash.
Using Finder (deleting Time Machine backups) to manage Time Machine files is a mistake. The remedy is somewhat easy, but you will lose all the files on that TM drive.
If there is nothing elese on the Time Machine drive, try reformatting the drive with Disk Utility. This will effectively remove the files from that drive from the trash. If you have files on this drive, temporarily copy the files to another drive, then reformat the TM drive. -
I can only shutdown arch linux using the terminal.
Recently I started using SLIM to log into Arch Linux. I was having trouble with the gnome-keyring window popping up everytime I logged in while using GDM. I downloaded SLIM and changed some settings so that gnome-keyring wouldn't pop up everytime.
Here are the changes I made:
~/.xinitrc using this article https://bugs.archlinux.org/task/18930
exec ck-launch-session gnome-session
eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh)
And /etc/pam.d/slim
#%PAM-1.0
auth requisite pam_nologin.so
auth required pam_env.so
auth required pam_unix.so
account required pam_unix.so
password required pam_unix.so
session required pam_limits.so
session required pam_unix.so
session optional pam_loginuid.so
session optional pam_ck_connector.so
auth optional pam_gnome_keyring.so*
session optional pam_gnome_keyring.so auto_start*
*= the changes I made to the file.
I was hoping to just stop gnome-keyring from popping up everytime I log into Arch Linux (ideally I wanted to auto log in) and now I can't shutdown unless I use the $ sudo shutdown -h now command in the terminal. When I click on the "Power Off" button in Gnome 3 it basically logs me out to the SLIM log in screen. I was able to shutdown the computer before by shutting the laptop screen/lid but that doesn't do anything now for some reason. Is there a way for me to auto log into arch without the gnome-keyring popping up everytime?
Additionally, with the gnome keyring dialog I wasn't able to click the "Automatically log in....." radio button because it was grayed out for some reason.
Last edited by rg_arc (2011-09-06 19:45:05)$ ck-list-sessions
Session2:
unix-user = '1000'
realname = 'Ricky ******'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0.0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-09-06T10:32:31.899610Z'
login-session-id = '1'
Session1:
unix-user = '1000'
realname = 'Ricky *******'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0.0'
x11-display-device = ''
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-09-06T10:32:31.706583Z'
login-session-id = '1'
$
I believe everything is working smoothly after I rebooted... I think this is solved... but its good measure to double check.
thanks for the input guys
Last edited by rg_arc (2011-09-06 15:37:05) -
How to remove stocks, weather,clock, notes, reminders, youtube, game center calc, voice memos,calendar, maps, and stocks? As a person who blew 300 bucks I think I should have a choice if I want to remove this crap but can't figure out how.
any help would make me happy. As it stands now from looking on the web it can't be deleted but making sure before i return this ipod touch. I wan't a clean item the way I wan't it and not how they want it. Like I do not need Itunes and App Store on this ipod because I use my computer only to shop, So many things i like out of the ipod and I am sure lots more people also would like a cleaner ipod/phone or what ever.
from looking at what I never use I see a total of 14 app's I not want taking up space and my screen.
yup with the 5.0 came another stupid icon i not like. ( Newsstand )yes i moved them into a folder, but I not want them at all on my screen. Guess I return this and pick up a
Zune HD
less app's on that then ipod touch. thank you for the responce. -
I have PS 4,5,and 6 installed on my Macbook Pro as well as Lightroom 4 and 5. Can I remove PS 4 and 5 and LR 4? PS 4 is the total install and PS 5 and 6 are upgrades. LR 4 is the full package with LR an upgrade.
I need space!First let me disabuse of a misconception: All Adobe upgrades are FULL installers. Whether you buy them as upgrades or new versions does not make an iota of difference. The upgrade installers do not need to find a prior version installed, they just prompt you for the old serial number as well as the old one, and they do not rely on the old version in the least.
Second, the time to uninstall an older version is BEFORE upgrading to a newer one. Otherwise, the uninstaller from the older versions will mess up with your new install. There are a gazillion files that are named the same and in the same locations as the new one.
Your best bet now is to uninstall ALL the Photoshop versions you have installed, including the newest one, one by one, then run the Adobe CS Cleaner Tool, then run Repair Permissions from Apple's Desk Utility, and finally re-install the latest version.
The other alternative, if your boot HD is large enough (very doubtful in case of a laptop like a Mac Book), is to leave all versions on it.
Your choice. -
Obsolete and batch users can receive work items
Dear Experts,
Currently, we have found a problem that obsolete and batch users can receive work items by manual forwarding from someone. The roles and responsibilities of obsolete users were removed and users have been locked. For Batchuser, it's only created for some certain job with limited roles.
Could you help advise if this's a behavior of workflow or it's from some authorization problem? We have concern for business impact since no one is really handling work items and important messages are out of sight.
Thank you very much in advance.
Regards, KaeHello,
This is standard behaviour. It is even possible to send work items to users who do not yet exist (e.g. someone who is due to join the company).
The easiest way to workaround is to set up a substitution for any users that get locked and for background users. Personal substitutes can be maintained directly in table HRUS_D2, you could possibly write your own maintenance transaction for this if it is to be an ongoing issue.
Hope that helps,
Mike
Message was edited by:
Mike Pokraka -
How do I remove the DRM-Protection from tracks so that I can play them on my DJay 2 app. I've followed the directions for removal and it's not working...
Will I have to purchase these tracks again?Apple's official advice is here... HT2905 - How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls.
Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group of identical tracks to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created. If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin. This can happen, for example, if you start iTunes with a disconnected external drive, then connect it, reimport from your media folder, then restart iTunes.
Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background. Please take note of the warning to backup your library before deduping, whether you do so by hand or using my script, in case something goes wrong.
(If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
tt2 -
When updating to itune 10.5 I get this error message ,older version of bonjour can not be removed, and older version of apple mobile support cannot be removed, any one know how to fix this.
1) The older version of Bonjour can not be removed. Contact your technical support group.
Unfortunately, this sort of trouble has gotten more complicated to deal with ever since Microsoft pulled the Windows Installer CleanUp utility from their Download Center on June 25. First we have to find a copy of the utility.
Let's try Googling. (Best not to use Bing, I think.) Look for a working download site for at least version 3.0 of the Windows Installer CleanUp utility. After downloading the utility installer file (msicuu2.exe), scan the file for malware, just in case. (I use the free version of Malwarebytes AntiMalware to do single-file scans for that.)
If the file is clean, to install the utility, doubleclick the msicuu2.exe file you've downloaded.
Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any Bonjour entries and click "Remove".
Quit out of CleanUp, restart the PC and try installing iTunes again. Does the install go through properly now?
(If you do find a clean download site for the correct version of CleanUp, please don't tell me where it is. Without wishing to sound paranoid (although I grant it does sound paranoid), there is a non-zero chance that posting links to download locations for the utility here at Discussions leads to that download location being shut down.)
Maybe you are looking for
-
Dial UP Modem is not working properly in Satellite A200-1GB
My A200 - 1 GB's modem is not working properly. It tries to connect but at last it says remote computer is not responding. As i noticed It has a "Agree" 56kpbs modem. It shown as Toshiba Software Modem. I tried so many times it doesn't work properly.
-
I believe I've got some kind of spy ware or malware running in Firefox If I log into my Sainsburys Bank site and enter my user name and password I should be directed to a new page asking for one of 4 possible passwords before I can access my account.
-
My local folders disappeared. How do I get them back?
Turned computer on. Mozilla asked for email password, for some reason it set up a new account and now my local folders are gone and with them information that I need.
-
Eyedropper Selects Wrong Color
Im using Photoshop CS5 (version 12.1 x64). When I try to use the Eyedropper Tool on a thin (1-4 pixel) shape (both pathed and raster) it will select the incorrect color and only give me a lighter, similar color. See below: This is me clicking right i
-
There was a problem downloading the software for the ipod. Network connection timed out
There was a problem downloading the software for the ipod. Network connection timed out. This is for the latest ios for the iPod touch. Already walked through the steps to validate that all settings were correct with the firewall, Windows defender ha