Querying User Rights for Create Document for Webi

HI all,
We developed a .NET application that allows a user to create Webi documents if they have access rights.  This worked in Business Objects XI R2 and we're upgrading to BusinessObjects Enterprise XI 3.1.  Our VB.NET code is as follows:
     Dim webIApplication As InfoObject
     webIApplication = istore.Query("SELECT * FROM CI_APPOBJECTS WHERE SI_ID = " &     applicationID.ToString()).Item(1)
     If webIApplication.SecurityInfo.CheckRight(17170446) Then
                permissionOK = True
     End If
This right used to allow a user to create a webi document, however, this right must have changed in the new version, since checking this right always returns false.  We did verify that this user has rights when using the built in Infoview, and it works properly.  We have been unable to determine the new right ID, or if this is still the proper way to check for such rights.  Thanks for any information you can provide.

Hi,
I'm trying to do the same in Java with a 3.0 but my code below is not working do you have an idea of what is wrong ?
ISessionMgr sm = CrystalEnterprise.getSessionMgr();
   IEnterpriseSession _es = sm.logon("Niko", "", "machine", "secEnterprise");
   ISecurityInfoMgr isim = _es.getSecurityInfoMgr();
   ISecRights iMyRights = isim.getRights();  
   IInfoStore iStore = (IInfoStore) _es.getService("InfoStore");
   IInfoObjects rUsers = iStore.query("select * from ci_systemobjects where si_kind like 'WebIntelligence'");
      IInfoObject rUser = (IInfoObject)rUsers.get(0);
     int iObjectId = rUser.getID();
   IPluginBasedRightIDs ip = rUser.getSecurityInfo2().getKnownRightsByPlugin();
   java.util.Map toto = ip.getPluginCustomRights();
   IRightID[] irids= (IRightID[])toto.get("CrystalEnterprise.WebIntelligence");
   Locale myLo = new Locale("FRENCH");
   Locale lyLO2 = myLo.FRENCH;
   for (int i=0;i<irids.length;i++) {
    if (irids<i>.getBaseID()==14) {
     System.out.print(irids<i>.getDescription(lyLO2) + " -->" + irids<i>.getBaseID() + " -- " + irids<i>.getRightPluginKind() + " = ");
     int iResult = iMyRights.checkRight(irids<i>.getBaseID(), irids<i>.getRightPluginKind(), iObjectId);
     System.out.println(iResult == ISecurityResult.CE_SEC_GRANTED);
Any help is appreciate. Consulting is engaged on a project related to this dev and it is hurry.
Regards,

Similar Messages

  • Need help in creating documents for Contacts in Oracle HRMS

    We are trying to add documents to Contacts in Oracle HRMS. (11.5.10.2)
    Navigation: Oracle HR Super User -> Fastpath -> Documents of Record
    Search for a Contact -> Manage Documents of Record -> Create Document of Record.
    In Document Information -> Type is mandatory field but the LOV is not returning any values.
    The LOV works fine for both system defined and custom document types when trying to create documents for Employees or External Contractors.
    But we would need to be able to add documents for Contacts also.
    Please let us know if this expected functionality or if there is any setup that is needed.
    Any help in this regard is highly appreciated.
    Thanks,
    Kiranmayi.

    We are trying to add documents to Contacts in Oracle HRMS. (11.5.10.2)
    Navigation: Oracle HR Super User -> Fastpath -> Documents of Record
    Search for a Contact -> Manage Documents of Record -> Create Document of Record.
    In Document Information -> Type is mandatory field but the LOV is not returning any values.
    The LOV works fine for both system defined and custom document types when trying to create documents for Employees or External Contractors.
    But we would need to be able to add documents for Contacts also.
    Please let us know if this expected functionality or if there is any setup that is needed.
    Any help in this regard is highly appreciated.
    Thanks,
    Kiranmayi.

  • Table to look for change documents for users

    Hi friends,
    Is there any standard table to look for change documents for a user?change document through SUIM does not give the correct log.
    Thanks for you support.

    Julius
    Looking at another of Tracy's other post (http://scn.sap.com/thread/3598947) she's trying to use ACL. Hence needing to know the tables to write joins/queries to hit tables within ACL
    I've seen ACL used and have had the fun experience of Auditors using Google to find tables to perform checks on without context of what has actually been implemented in their particular system.
    Regards
    Colleen

  • LSMW: standard batch direct input for create document & document str

    hello expert .
    Is there any standard batch direct input for create document (tcode: cv01n ) & document structure (cv11) using lsmw.
    regards
    srinivas

    Hi Srnivas,
    I am not able to find direct input progarm for this, but there is one standard bapi available for this with name BAPI_DOCUMENT_CREATE you can use this.
    Regards
    Dhirendra

  • How to create document/literal web services with WLS7

    How do you create document/literal web services with WLS7 ( not workshop)
    - Is it possible with servicegen and stateless EJBs as the backend component?
    The default is RPC/Soap-encoded is there anyway to craft the web-services.xml
    to make it document/literal
    - Is it possible with the JMS-implemented web services - have not tried this yet
    - Is there another mechanism?

    That would be the <web-service> element in the web-services.xml file, of course.
    "Michael Wooten" <[email protected]> wrote:
    >
    Hi Rich,
    Try adding a style="document" attribute to the starting <web-service>
    element.
    The might be a way to get <servicegen> to do this for you, but I haven't
    found
    it yet :-)
    Regards,
    Mike Wooten
    "Rich Muth" <[email protected]> wrote:
    How do you create document/literal web services with WLS7 ( not workshop)
    - Is it possible with servicegen and stateless EJBs as the backend component?
    The default is RPC/Soap-encoded is there anyway to craft the web-services.xml
    to make it document/literal
    - Is it possible with the JMS-implemented web services - have not tried
    this yet
    - Is there another mechanism?

  • Best workflow for creating games for pc and starling games in AIR

    best workflow for creating games for pc and starling games in AIR.
    I need to develop for tablets with starling and AIR as well as for pc without starling ie: downloading from a server.
    In starling you have to
    1. instantiate starling
    2. use texture atlases for loading graphic assets - well its the recommended way
    3. use juggler
    etc...
    ie: with all these differences is it best to:
    1. create completely different projects
    2. just create different classes for the starling specific parts
    3. use a conditional compile constant
        eg: CONFIG::STARLING
                "then do this"
    or      CONFIG::CPU
              "then do this"
    I currently have the latter but it feels a little messy. I would prefer separate classes for each platform where the image loading is concerned.
    There must be so many game developers out there but in large gaming companies that know exactly what to do. Perhaps you can point me in the right direction with a book or something.
    CHEERS

    The other thing is that I can't see the games being very different as you suggest. I have downloaded Lee Brimelows tut on creating a starling game on Lynda.com and the code is great for creating games using states for menu, play, gameover etc... The only difference is that he uses texture atlas and there is a great difference in loading them etc... so technically you would only need to handle them in a different class as collision and the rest of game play should be the same in both. I think!!!
    Well, actually not exactly but near enough - maybe it might be easier to create separate projects and just cut and paste the new code introduced.

  • Create  of (demo for)OVAI (transaction for create entries for each vendor)

    hi all,
    can anyone plz tell me how 2 create (demo for)OVAI (transaction for create entries for each vendor)
    thans & regards,
    srinivas reddy.

    hiii
    yes you can call transaction like that..take tcode in that parameter then you can use it in your program with statement like
    call transaction (variable)..in background process.
    regards
    twinkal

  • Security for creating documents.

    Hello Folks,
    I have a question on security/authorization for creating/accessing documents on the Bex Query level? I would like to restrict a set of users to create/view/delete documents and another set of users to just view the documents and not create/delete them. But currently on our system, anyone can create documents at the query level even if the Info-objects are not configured to be document relevant.
    I played around with S_BDS_D* and S_BDS_DS* and none of them fetched me this functionality. Any ideas and thoughts would be appreciated.
    Thanks in advance!

    Arun,
    Thanks for ur response. From security perspective, how do I enable single document viewer access?
    Danny

  • Creating documents for CMYK vs. RGB

    1. When creating a document that will be printed on an Epson Photo Sylus 1400 ink jet color printer, should a file be setup as CMYK or RGB? It has more than 3 ink cartridges, it has an ink cartridge for each of the c,m,y,k, though I read somewhere it should be setup as RGB?
    2. If a file is going to a professional printer should it allays be CMYK?
    Thank you.

    I think there are other rgb printers around perhaps a Lightjet or Poli. But even a Lambda prints on photographic paper which is cmy though you can print on cmy with an rgb color pack.
    Not really important as the the inkjets do their own conversion which is something you are missing and you have gotten use to do ing this the wrong way and may have missed an important step in the print dialog.
    One has to use the right color profile for the paper that matches the printer once you get this part straight then you will get the results you expect and perhaps even a bit better. Of course if the profile is wrong then it all goes to hell.
    However with your printer you are printing through a RIP which might not be available for the 1400 and the rips have their own profiles that will match the paper.
    Here is usually the misused step notice in the first screen shot it say the printer profile is Adobe RGB, that is wrong that is actually the profile for the document
    You have to change that to your papers profile that has been matched to your printer model like such
    In the case of the 1900 which prints fine from Illustrator in earlier OS versions it does not print from an Intel Mac using OS 10.5 and greater, it is not the color it is just the jagged edges and there is no RIP except for Acrobat which does a great job as a RIP for Illustrator.
    In Acrobat 10 you click advance settings and seect the profile there
    Adobe RGB is correct but it is the profile that has to be adjusted to the physical characteristics of the paper used.
    Very important not to make this error.

  • Source code for "Creating an Extended Web Dynpro Application"?

    Hello!
    I'm a rookie in the field of SAP Netweaver and I'm justing getting started with some tutorials. My problems with "Creating an Extended Web Dynpro Application" are to massive to be posted on this forum in this stage. What I want to have some help with is to find the source code for that tutorial so I can get som guidence from there.
    Following text is cut out of this page:
    http://help.sap.com/saphelp_nw70/helpdata/EN/5d/f42fef2eec724597a03b6bcc670c2c/frameset.htm
    Creating an Extended Web Dynpro Application
    You can download the Web Dynpro project for the current tutorial from the Software Developer Network SDN (http://sdn.sap.com -> Web Application Server -> Web Dynpro -> Sample Applications and Tutorials) in two versions: one skeleton version you can use for exercises and one final version (solution) for an immediate build, deployment and run on the Java engine of the SAP Web Application Server.
    How hard I try I can't find the specific source code on sdn.sap.com
    Does anyone have a clue where it is?
    Thanks!
    Best regards
    /Johan Månsson Lindströ

    Hi!
    I did what you said but I seem to miss the IDE folder. This is what it looks in my Explorer
    C: > Program Files > SAP > IDE > CE > eclipse > (no folder called "examples")
    I also did a search in this eclipse folder for "examples" but I did'nt find the example I'm looking for
    I am running a newer version of NWDS:
    SAP NetWeaver Developer Studio
    SAP NetWeaver 7.1 Composition Environment SP03 PAT0000
    Maybe that's why things don't look the same?

  • Pbm with document name while generating URL for created document

    Hi Gurus,<br>
    <br>
    When we upload a document and generate the URL for that document, and then while we paste the same in the explorer window to access it, I was able to see the dialog asking me whether to save or open the document with the <B>actual document name</B>.<br>
    <br>
    But, when I create a document using the template which we uploaded in SOLAR_PROJECT_ADMIN, and then generate the URL for that document, and then when I paste it in the explorer window to access it, the dialog now asks me to save or open the document, but it is not with the name of the <b>actual document</b>, but with the name of the <b>template</b>. <br>e.g <b>Business_Blueprint_template</b>.<br>
    <br>
    Can anyone say why such a problem? and how to solve it.<br>
    <br>
    Useful answers will certainly be greatly appreciated.<br>
    <br>
    best regds,<br>
    Alagammai.<br>

    Hi Gerry,
    try content matrix it gives you free 25 GB and it keeps metadata
    http://www.metalogix.com/Products/Content-Matrix/Features.aspx
    Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation

  • Recomended configurations for creating video for the web

    I'm working on a project creating video segments for the web (no plans for broadcast of DVD) and I'm looking for opinions on the most efficient way to use FCP to do this. We are shooting with an HD camera with a green screen and composting a couple of additional layers of Motion graphics and we found that the render times were really long. I'm looking for ways to mitigate this, on thing we did was switch from shooting in 1080p to 720p. We also tried shooting at 24fps instead of the broadcast 60fps and that cut our render time by a good percentage. Since the final product is going to be 640 by 360 at 15fps it seems like a good trade off but are there any down sides I'm not thinking of.
    I was also wondering if there might be an advantage to working at the size of the final product, if the FCP sequence were 640 by 360 would there be any advantages in terms of render times and what might the disadvantages would be.
    This is my first semi-professional project, just been a hobbyist up until now so any advice is appreciated.

    MoSaT wrote:
    We are shooting with an HD camera with a green screen and composting a couple of additional layers of Motion graphics and we found that the render times were really long. I'm looking for ways to mitigate this, on thing we did was switch from shooting in 1080p to 720p. We also tried shooting at 24fps instead of the broadcast 60fps and that cut our render time by a good percentage.
    those simple steps reduced the number of pixels in each frame from about a million to 750,00, about 25%; and you reduced the number of frames from 30 or 60 to 24 or 48. So, yeah, your rendering times are going down. If your Motion project has ten HD layers you're saving tons of processing.
    MoSaT wrote:
    This is my first semi-professional project, just been a hobbyist up until now so any advice is appreciated.
    Since the final product is going to be 640 by 360 at 15fps it seems like a good trade off but are there any down sides I'm not thinking of.
    Absolutely. But you engaged the project without knowing how you were going to accomplish anything; implies your plans for improving workflow will be similarly incomplete. We all got by with NTSC and plan ol' DV for decades. The web is a low end distribution system, not a theatrical viewing experience. You can force your viewers to download a huge file and watch it on their TVs or you can open it up in weensy teeny window on their iPhones.
    MoSaT wrote:
    I was also wondering if there might be an advantage to working at the size of the final product, if the FCP sequence were 640 by 360 would there be any advantages in terms of render times and what might the disadvantages would be.
    Purists will be correct in telling you better source footage results in better uploads. I will tell you that's true but it's academic. Your realworld needs are based on your web upload, not your plans to archive high def footage for future exploitation.
    Here's what I'd do: Work backwards. Figure out what your upload needs are--exactly. Research Compressor and other compression systems to determine how you are going to process your project to get the target output. Now decide what format that software wants to process to create the best results. then figure out how you want to provide that input for the compression application. then figure out what the tradeoffs are for your original footage in terms of your camera resources, your skills with the camera, and your mistaken impression that effects and chromakey should be fast.
    bogiesan

  • FM for Change Documents For User

    Hi all,
    We need a Function Module for tracking the changes of a user account. Is there any function encapsulating the functionality supplied by SU01 -> Information -> Change Documents for User?
    thanks,
    - ferudun

    Hi
        Try this BAPIs
    BAPI_USER_LOCPROFILES_READ
    BAPI_USER_GET_DETAIL
    Regards
    Bala Krishna

  • Bapi for creating documents in cv03n

    hi!
    i am looking for a bapi to create document in cv03n and open an objectlink tab.
    I need to transfer the following parameters:
    document type = 'ENG'
    tables:
    objectlink: objecttype = 'AENR'
    objectkey = change number field.
    regards
    yifat

    hi!
    i used the create item to open document and that was o.k,
    but i also wanted to open objectlink tab and it didnt work.
    i transfered documentdata-doctype = 'ENG'.
                 objectlinks-OBJECTTYPE = 'AENR'
                 objectlinks-OBJECTKEY = value of change 
                                         number
    the system grants documentnumber internally and automatically.
    regards
    yifat

  • Workflow for creating animations for web (Creative Suite CS6)

    Hi,
    I was wondering about what the best workflow is for creating animated videos for the web (say, YouTube) once the project reaches the "computer" stage (i.e. story, look etc. are all decided).
    Is it best to use Photoshop, Illustrator or Fireworks to draw everything if the software to animate these drawings is After Effects?
    The project I'm talking about is as of yet hypothetical but would be relatively short (90 seconds) and simple as I don't have much experience with this at all - hence my question.
    I've been looking around for a good set of basic tutorials but can't really work out how to go about this from start to finish using the Adobe Suite.
    Thanks!

    size is mort important than format. I prefer PSD files, but png, tiff, tga, even jpeg if you do not need transparency. Just make them big enough that at some point in your composition they are scaled to 100%. IOW, if you are drawing full frame animation cells for HD they do not need to be any bigger than 1920 X 1080 pixels. If you are going to scale them up or move in on some details then the area you are going to be pushing in on needs to be 1980 X 1920.

Maybe you are looking for

  • I have an hp p3005dn printer. how can i print to "lpt1" in command prompt mode. win 7.

    I am trying to get my printer so I can print to it from "Command Prompt".  I have done the "Port" thing to allow Windows to accept "LPT1" as an alternate printer spool name.  I know there are a command or two that are required in Command Prompt itsel

  • CRS malfunctions in db 10.2.0.4 in windows 64bit

    I must install a 2 node RAC database 10.2.0.4 in OS Windows server 2003 Enterprise Edition (64 bit) . When i installed the CRS software 10.2.0.1 and then upgraded it to 10.2.0.3 the crs worked fine, the ons, gsd and vip were functionning correctly fo

  • Cannot export video: AME cannot read from source, Installation Error

    Ok, I've seen a lot of people on here talk about this and I have tried using their solutions but nothing has worked. I cannot export anything from Premier Pro using Media Encoder.  When I try, I get an yellow warning sign saying that it cannot read f

  • FOUND ERROR WITH TRIGGER

    Please, i want a found a field that cause error in a trigger, how can capture this field and sending to a table_error. thanks

  • Saving Photos in Recovery Mode iPhone 4s

    iPhone 4s died and when I charged and it turned back on, it has gone into recovery mode. It tells me to connect to iTunes and then iTunes says I need to restore my phone. I have photos on my phone that I want to save, how do I do this, when my phone