Need Info on setting permissions

I am writing an application that needs to open, modify, then set the permissions on 1200 pdf documents. I am writing it in C# because that seems to be the hot thing and I want it easy for others to maintain. I have successfully been able to open, modify, close and save the pdfs. Which brings me to this post. I have not been able to set the permissions and am running into a dead end.
The resource for PDDocSetNewSecurityData does not seem to exist and I can't find anything to tell me what resource it is contained in.
Has anyone used this feature in C#? And if so where did you find the resource?
Thanks.

In C# (which I am new to because I usually use C++) they use "references" to expose methods, much like you would use an include file. For example to use the method MenuItemIsEnabled you choose "Acrobat" from a list of COM objects. Then in the .cs file you would then place a "using Acrobat;" statement and you have exposure.
I would assume that the PDDocSetNewSecurityData was in there. But it is beginning to look like it may be in the PDF Library. But it shows up in the API reference.

Similar Messages

  • Need info about group permissions

    Hi All,
    I'm confused with OIM group permissions for the following scenario.
    Consider three groups G1,G2,G3 with the following permissions to a particular resource object RO.
    G1 - Has all permission in all places for this RO(resource object,process form,process definition,etc)
    G2 - Has only read permissions in all places for this RO.
    G3 - Doesn't have any permission with respect to this RO.
    And also "Provision by Object Admin Only" is selected for this RO and G1 is an object administartor.
    Now I got the follwing result when I try to provision this resource object.
    case 1:The actor(logged in user) is a member of G1 & G2 ------- Got this error "DOBJ.INSERT_PERMISSION_DENIED.You do not have permission to insert this object " and the provisioning operation is failed.
    case 2:The actor is a member of G1 & G3 ----- Able to provision this resource object.
    Now my question is, in case1 if OIM is denying the operation as G2 doesn't have insert or write permission then how come it is allowing the opertion in case 2 where G3 doesn't have any permission ?
    Is this an expected behaviour or am I missing something ?
    How OIM is handling the permissions for this operation ?
    Thanks in advance.
    Regards,
    NS

    I have the same problem here.. the issue we have is that some users have groups that give permissions, other group that are used by access policies and others for menu visibility. The last two aren't for permissions purposes but they impact on the effective rights of the users, because for example, when users try to revoke resource, OIM says that they don't have permissions. Do you figure a workaround to solve this problem?

  • I need to change my billing info and set up a busi...

    I need to change my billing info and set up a business account.

    Hello matthew1405tallai,
    I have linked an article that will walk you through the process of updating your payment information:
    iTunes Store: Changing your payment information
    http://support.apple.com/kb/ht1918
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • AppleScript for setting Permissions Automatically -help needed

    Hello -
    I am trying to create an applescript that can run automatically each time a user signs into a Mac set up for multiple (non admin) users that will take a folder on the drive and set permissions for all sub folders and files to read/write for everybody. I want the script to essentially do the equivalent of checking to "apply to enclosing items" checkbox.
    I know very little about applescript and have not found a good tutorial online yet. Does anybody already have a script that will do this or know how to create one and set it up so that it will run automatically each time a user signs in? I think that I can probably add whatever script is created to the login items for the user to do that. But, don't I also have the problem of the script needed admin rights to reset permissions?
    Any help would be appreciated.

    What exactly are you wanting to do? There are shared folders that already exist (public and private), and Access Control List entries can be set to allow for custom access. Is this for a temporary directory or something like that that gets created when a user logs in?

  • How to set permissions to edit/save files copied from a Win 7 PC

    I'm working on a project where I have to generate a series of screengrabs on a PC and transfer them to my MacPro via the network for onward tranmission via email but some need to be edited first in Photoshop.
    If I'm just forwarding them via email with no changes there's no problem, but when I need to edit them in Photoshop I can't save unless I go to Get Info for the file concerned, unlock Sharing & Permissions (which requires my administrator password) and then change the 'everyone' drop-down setting from 'Read only' to 'Read & Write', then re-lock and close Get Info.
    The default permissions for the PC files as they arrive over the network are:
    nobody     Read & Write
    staff         Read only
    everyone  Read only
    I have dozens and possibly a hundred or more of these to do, so having to re-set Permissions every time is a major pain and waste of time.
    Is there something I can change either on the Mac or the PC (which is running Windows 7) so that I can just edit and save these files without all this hassle?
    Thanks,
    Michael

    http://www.lagentesoft.com/batchmod/ drag and drop permission modification software.  Be careful with this.  If you drag and drop a necessary system folder, you can render your Mac unbootable, except with an EXTERNAL optical drive.

  • Please help setting permissions on a Public folder

    I've just migrated from a G4 running 10.4.x to a Mac Pro running 10.5.1, and now when I create files/folders on a Public folder located on a Xserver, I can't set permissions to allow everyone to Read & Write.
    Here's what's happening. Let's say I create a new folder in the Public folder and select Get Info to change the permission to allow everyone to Read & Write. The folder starts with the permissions as g42 (my account) "Read & Write", admin "Read only", everyone "Read only". If I click to change the Privileges of "everyone" to Read & Write, all of a sudden g42's Privileges change to "No Access", admin disappears and everyone (which I had selected as Read & Write) changes to "No Access". And the folder icon now has a minus symbol on the lower right corner.
    With that said, lets say I try and correct this by clicking the Privileges of g42 to "Read & Write". Nothing happens. I then try and correct the Privileges of everyone to "Read & Write". After doing this the list of permissions is osxserver "No Access", (unknown) "Read & Write", everyone "Read & Write". And the folder still has a minus symbol on the lower right corner.
    I'm sorry if this is confusing but it's just as confusing to me and I can't figure out what I'm doing wrong.
    I Can set all the correct permissions if I do it via the Xserver. But I don't want to have to do this everytime I create a file/folder. And no one else connected to the network, running 10.4.x, has this problem which makes me think its a Leopard problem.
    Any suggestions? Need me to clarify anything?
    Thanks.

    Hey Aaron...
    I just ran thru this with my nephew at college who wanted to share .mp3 files with his roomies, and yes, I'm afraid it's all about permissions.
    In a way, Apple has made this a bit harder than it needs to be.
    1. You could create a new user for your computer, say User1, and let all your co-workers log in as that user, and they would have access to the all the docs in User1's home folder, including the ability to create, edit, move, and delete files. The problem here is that you'll be logged in as "you", and won't have the same priviledges, and no amount of manual changing of permissions will make this easier.
    2. If you have a spare HD(they are pretty cheap), you can add that to your computer, and set the the permissions to "Ignore". Your co-workers can log in to your computer as Guest, and have access to all the docs on that drive, and you will as well, since docs on that drive respond to permissions issues.
    3. The last option would be if you have an older, spare Mac to set up as a file server. Create a user for it, and you and your co-workers can log in as that user (all at the same time) and see, edit, and delete docs on the computer.
    BUT, as far as I know, I have tried numerous times to do what you want to do, and can't get it to work. Unless you don't have any "secrets" on your computer, you could give your co-workers your username and password, they log into your computer and have access to all the docs in your home folder.... but ALL the docs... anything and everything in your home folder will be available for perused by anyone logged in with your username. LIkewise, establishing a 2nd user on your computer only goes most of the way to a solution, since you can't (easily) be logged in as both users and create, open, edit, save and delete docs.
    I suppose there may be a script out there that will automatically change permissions on the fly, but I'm unaware of any.
    Hope this helps.

  • Error while navigating planning 9.3.1 through workspace/ need info on cpx,

    Hi all
    Hey I installed the planning 9.3.1 and also I created the application name, using planning address. but the problem is I am unable to navigate through workspace. I am getting three dialog boxes....
    " invalid or could not find module configuration"
    "Required application module hyperioin planning app wizard is not configured.please contact your administrator"
    " Communication error"
    I'm able to see the application name in projects of shared services. Can any one face the same situation , and also I need info regarding how to initialize modules of capx and wfp.
    regards
    M.V

    Hi,
    If you did a standard install then it should be running on port 19000 as well.
    I take it workspace is working fine on port 19000
    http://<hostname>:19000/HyperionPlanning/LogOn.jsp
    ^ this will be your workspace servername..
    When you run the configuration utility for Reporting and Analysis and the section "Configure Web Server", this is where you set up the Apache Server for workspace, there is an option for "Planning", this should be ticked and the correct planning server entered as it will default to the workspace server.
    The apache server redirects requests on the standard workspace port 19000 to the correct server and port, so for planning it redirects to the planning server and port 8300.
    Cheers
    John

  • How to set permissions IN Open Directory USING Open Directory groups?

    Hi all,
    Apologies if I've missed this but have been searching for two days trying to figure out how to delegate permissions within the OD to a number of different OD groups and i can't seem to find any way to do this either at the command line or with WGM.
    Examples: an OD group containing those who will manage the full directory need to have permissions on all containers, child objects, and their attributes in the directory. For this one in particular I seem to be able to nest a group in the default Admin group, but this isn't really what i'm after. I need to create OD groups with the ability only to manipulate objects of class apple-computer and similarly, apple-user (really all inetOrgPerson objects). In a nutshell: how do i set permissions on specific attributes or object classes using OD groups?
    thanks for any pointers...
    -andrew

    I think i just answered my own question: Open Directory is OpenLDAP. slapd is all i need.

  • Wls10.3.2: Why do we need to explicitly set -Duser.timezone

    Hi All,
    We are installed FMW 11g PS1 Weblogic 10.3.2 &Oracle Fusion Applicaton Runtime 11g on Oracle Linux 5.7 VM (running on Oracle Virutal Box / Host-only Network adapter) and created new weblogic domain using EM & JRF product templates and choose default options. (except choosing 'Production Mode')
    While deploying our application we are getting "Caused By: java.sql.SQLDataException: ORA-01882: timezone region not found" while performing data base operations (retrieve date from Oracle Database 11g R2 using eclipse link)
    Note:- DB schema have column with timezone set.
    So, Issue got resolve after updating setDomainEnv.sh file with "-Duser.timezone='-05:00'" (CDT) for EXTRA_JAVA_PROPERTIES.
    In general, we didn't the update this properties for our systems.
    Please let me know what want wrong with my setup (Linux installation - date & time settings/ Weblogic /Domain creation/Database time zone settings)?
    Thanks,
    Suresh

    Unfortunately, there are many ways how various OSes setup a configuration to indicate what timezone it is using. The JRE assumes a certain way of how this is done and on many systems it is able to get the necessary info it needs to determine what the timezone is, but of course, it also gets it wrong sometimes, or in your case, it did not find what it was expecting.
    To preempt your next question, what needs to be set? Well, I wish I knew the exact answer. I have several Solaris, Linux, Windows, etc.. systems, on most of them java is able to get the right timezone, but on some it is getting the wrong timezone, but as far as I can tell the timezone configuration on the ones that are wrong look just like the ones that are correct.

  • Need info on RA

    Hi all,
    i am in mid of RA Config...
    where in i need to Assign the Line ids to cost elements
    here we create the coding mask for the cost element to be assigned to line ids...
    so we need to create diff cost elements a/c to the coding mask....????is it so....
    so in next step ie in "Update of WIP calc and RA(OKG4)"
    where in for our Cntrl area i need to maintain diff cost elements....
    so now i am finding the problem in creating those cost elements.... for  each diff cost element types ie primary,sec,rev,settled...do i need to create diff G/L account ???? coz it asking fo it so....and hw to create those diff cost element..
    is it thru (ka01)....
    i have link regarding RA...but it does nt say anything abt these cost elements...
    need info on this...
    reply soon for this thread...

    Hi Amit,
    While i was doing the config according to the notes given by u...
    i was stuck in OKG8
    they have told me to set RA cat as RFKA and POCB
    BUT THOSE REC DOES NT EXISTS....
    where in i can create these RA category.....or can i use any alternative RA category
    so can u tell me wat these mean if u knw...and which P&L and Balance a/c need to be used or created and provide the TCOde if u have as the one of my CO consulatant hasnt turned up today....so i only have to create them..
    AND TO ARCHIVE THE PROJECT IS THE STATUS OF PROJECT MUST BE SET TO CNF MCNF TECO
    OR ITS ENOUGH THT ITS BEEN RELEASED...
    REGARDS,
    PREETI.P.G

  • [Apache 2] Critical error mod_rewrite: Could not set permissions on rewrite

    Hi,
    Well I had a look around to this problem and it seems it is specific to mac os system on intel machines, so I send my post here.
    I had installed the apache 2 server from www.serverlogistics.com and it seems to start. However it is impossible to log into my local website with an error in my web browser "can't log to "localhost" server".
    By reading the logs I got in /Library/Apache2/logs/error_log (where there is also a httpd.pid file): [crit] (14)Bad address: mod_rewrite: Could not set permissions on rewriteloglock; check User and Group directives Configuration Failed
    So, I commented the line "LoadModule rewrite_module modules/mod_rewrite.so" in /Library/Apache2/conf/httpd.conf with no efffect at all.
    Then I don't know what to do.... any idea please ?
    NB : I did not configure or set any htaccess file in any directory.
    Denis

    denis_4l wrote:
    Hi,
    Well, I had tried several ways among others MAMP. With, MAMP, I experienced some problems running MySQL and or Apache server.
    If you'd like help, you need to describe the specific problems you're having. You're not giving people here much to go on in order to be able to help. Without knowing what you've already tried, and what the results were, it's impossible to say if you've just made a simple mistake or if you've truly hit upon something that won't work. The Apache logs are especially helpful, with lots of detailed information to help in troubleshooting.
    To say the true, I bought this Macbook because the system kernel is 100% compatible with Linux, and I was full of naives hopes, thinking that I will install/compile easily softwares that are usual under Linux world.....
    I certainly haven't had much problem compiling and installing software that's distributed as source code, though I haven't tried to compile Apache. While it's true that much of the software will compile, it's also true that you might have to make some small changes here and there to the source code to get it to work correctly. But you might also have to do the same thing to get them to compile on different Linux distributions. So OS X isn't that different in that respect.
    If you want to get Apache 2 running with MAMP, post back with specific information on what problems you had and I'll try to help. I've been hacking at Apache installations for many years now, so if I know the problems you're having, there's a good chance I've been through them, too.
    charlie

  • Need help w/ setting up ports to run a server for America's Army

    Need help w/ setting up ports to run a server for America's Army. I read wat u need to change the ports but i dont understand wat to put. here is wat the site says
    Q: How do I run my own server?
    A: Quick and dirty server info:
    1. Edit RunServer.bat to change the map.
    2. Run RunServer.bat
    Or:
    server.exe LAN MAPNAME.aao (Host a LAN game)
    server.exe global MAPNAME.aao (Host a Public game)
    Also: When you create a server setup and want to allow other users to join your server, you need make sure the following ports are open for outgoing and incoming traffic in your firewall: 1716 (UDP), 1717 (UDP), 20025-20045 (TCP), and 20047 (TCP). Failure to open these ports will prevent the server from accepting connections from other players or prevent other players from being able to see your server online.
    There are several settings that also need to be defined in your server configuration INI file (in the Windows version, these files are located in “My Documents\America’s Army Server Settings\{settings file name}.ini”).
    [Engine.GameEngine]
    ServerActors=Andromeda.AndromedaMBS
    [Andromeda.Andromeda]
    GameServerIp=
    Make sure that you set the actual IP address of the America’s Army Server under GameServerIp= (for example, “GameServerIp=000.000.000.000”). The supplied address must be your actual internet IP address, if this is left blank or you supply the IP address for your internal network (such as 192.168.0.x), your server will not be able to accept connections from the internet.
    If your server.ini file contains the setting shown below, please change the QueryPort setting to 20025. This setting can also be removed, as the default setting is port 20025.
    [Andromeda.AndromedaMBS]
    QueryPort=20025
    Punkbuster user fix correction.
    If [Engine.GameEngine] block has been changed to read as below:
    [Engine.GameEngine]
    ServerActors=IPDrv.AndromedaMBS
    Please add the following block to your INI file:
    [IpDrv.AndromedaMBS]
    QueryPort=20025
    (Last Updated: 2006-04-20)

    Your images are not stored in the catalog. They are stored in folders on your computer. If you imported images that were already on your computer using the "Add" Option they are still in that same folder. If you imported images from your camera then they are in the folders that you specified when you imported. The catalog points to those images wherever they are located, and records all of the adjustments that you make to the image. When you send an image to Photoshop for further editing and save that image in Photoshop, it is normally saved back in the same folder as the original image.
    Images are not "saved" in Lightroom. The basic default workflow in Lightroom is to store all of the adjustments in the catalog, leaving the original image completely unmodified. The catalog becomes the central controlling mechanism. It is a database that contains pointers to where the images are located and a record of all adjustments made to those images using Lightroom. Properly managed, you only have those original master files and secondary files for the ones that you have sent to Photoshop for further adjustment. When you want to provide a copy for someone else, you use the export dialogue for that purpose. I often export JPEG images to share with others or to post on the web. After I have usedthe JPEG for its intended purpose I delete it.

  • Need info. on multiple report server

    I need to have two 9i report server on the same machine and they should serve two different language applications and hence should have two different NLS_LANG JA16SJIS and WEISO8859P1. The applications are forms6i and the report servers should be 9i.
    My question is:
    1. Is it possible to have two 9i report servers on the same machine with different NLS_LANG?
    2. If possible, can they be accessed from forms6i?
    3. If this is feasible, pls. give me guidance or the doc where I can find the info. to set up this config.
    Thanks in advance!

    Hi Venkatesan
    If you are going to run several Reports 9i server with different NLS parameters, you may want to explore Dynamic Environment switching feature. Apply the latest Reports 9i patch and go through the Release Notes that comes along on how to use it.
    Briefly, Dynamic Environment feature allows you to have a single Reports Server serving report request of multiple languages. All you need to do is a minor modification in the Server configuration file. Next when sending a request to Reports Server you need to specify which language this reports is.
    Regards
    Sripathy

  • UNIX command to set permissions for a "public" partition?

    I have a bunch of Core Duo (1.83) iMacs running 10.4.11. We have the drive partitioned so that students can save/store stuff locally for myriad reasons.
    With infrequent regularity, the read/write permissions on the partition get munged up and staff have to reset permissions (using the Get Info window).
    I would DEARLY love to use ARD 3.2 to send a UNIX command to set permissions so that EVERYONE has access to EVERYTHING on the partition regardless of who has logged in. We have cleverly named this partition "Scratch" 'cuz, well, you know, that's what scratch drives are for, yes?

    What I was hoping for was the ACTUAL chmod command so that I could just cut and paste it.
    Sorry not to be sufficiently specific. If you'd said that initially, I could have provided a more direct answer. I didn't know if you were even aware of chmod, and lots of people when they learn about it don't want to go anywhere near a chmod command, so I posted only to the general description first so you knew what you were getting into. Templeton has you covered for the specific command.
    For future questions, the more specific you can be about what you're aware of/have tried and what it is you're looking for, the more precise folks here can be in their answers.
    Regards.

  • How to set permissions on devicemapper block device

    I'm setting up a new RAC on RHEL5.1 using device mapper for multipath functionality.
    How should I set the permissions for the block devices I'm going to use for ocr, voting and asm?
    /dev/mapper/ocr1
    /dev/mapper/voting1
    etc.
    Regards
    Jon-Arne Storelv

    Markus,
    You are right about udev changing drastically between RHEL 4 and RHEL 5. The paper I referred to does include some guidelines for setting permissions for RHEL 5 as well. Here are some relevant extracts from the same pdf document:-
    # From udev.permissions section
    This file was obsoleted in later versions of the 2.6 kernels such as SLES10, RHEL5 and
    Oracle Enterprise Linux 5 (OEL5), that functionality was merged into the rules files, which is explained later in this paper
    ...and later you will find this example in the document
    For RHEL5, OEL5, SLES10
    • Create a file /etc/udev/rules.d/99-raw.rules with the following content
    with the following content
    KERNEL=="raw[1-2]*", GROUP="oinstall", MODE="640"
    KERNEL=="raw[3-5]*", OWNER="oracle", GROUP="oinstall", MODE="660"
    /etc/udev/rules.d/50-udev.rules on Centos 5 gives plenty of examples of settings for all different types of devices. We really need to specify OWNER, GROUP and MODE for devices that RAC will use in a rules file.
    Thanks,
    Satish

Maybe you are looking for

  • How can you set up a custom keyboard shortcut for Next Tab and Previous Tab?

    You can do this in Chrome because there is a top menu item for it, and OS X supports easily rebinding of keyboard shortcuts that are in the main menus. Is this possible in Firefox? Using a two handed shortcut to switch tabs is annoying when you want

  • Opening a project in 10.2

    Hi OPA enthusiasts I have a project in 10.1 it works fine. I tried opening it on my other machine which has OPA in 10.2 and I get a lots of build error detailing: Type     Severity     Description     File Model     Error     Entity 'otherparty' is d

  • My itunes library is not syncing to my ipod classic what can I do?

    My ipod classic was not being recognized by my computer and Itunes was not able to pick up the connectivity. My ipod would unplug itself and not sync my Itunes library. I unplugged it and replugged it. What can I do to fix this problem and how do I f

  • Information Broadcasting - Current date

    Hi gurus we have a requirement of broadcasting the reports,now the brodcasting works perfect but we need to have the date as a header set for daily broadcast been made.It like 08/09/2007 - Daily sales report to be shown on to the broadcaster. is it p

  • Can't install update 12.0.4 in photoshop cs5

    can't install update 12.0.4 in photoshop cs5