List of all iviews assigned to a user

Hi all,
i need to display list of all iviews of a particular user in a dynpage.
as we cant follow the typical role based approach, i need to list the links of all iviews which is user is allowed to access..
help me with api's to do this.

Hi,
   Check this link.
Retreive a list of workets, iViews, pages from Roles
Using this, you can get the assigned roles to that user. Do some more coding like this from the role list to get the iViews. For getting whole list of iViews, check this link.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401
May be you can try to compare from the whole list of iViews with the list which you get from the first link and then add those alone.
Hope that will help you start the process.
Regards,
Harini S

Similar Messages

  • List of all plants assigned to a user

    Hello ,
    Can any one please help me with finding a function module to get the list of all plants assigned to a user.
    I need to fetch some material details associated with the plants to which the user is assigned to .
    Thanks,
    Santhosh.

    It depends on how you assign plants to the user. It may be at a Z table level or based on autorization. Please try and find out how it is designed in your company.
    If it is at OM level then you will have to check with HR functional on how the relationship is maintained.

  • To get the Roles, Worksets, iviews assigned to portal user using webdynpro

    Hi..
    I need to display the roles, worksets, pages and iviews that are assigned to a particular portal user using WebDynpro.
    I tried to search in SDN and found a few blogs on this... but all are for DynPages. I could not find any inputs on how to achieve this in Webdynpro.
    I am listing down the blogs for your reference :
    1) /people/prakash.singh4/blog/2005/07/28/browse-roles-folders-pages-iviews-assigned-to-a-user-ep6-sp9-and-higher
    2) /people/prakash.singh4/blog/2005/09/06/create-a-sitemap-for-your-portal
    Please provide me your suggestions on how to display the roles, worksets, pages and iviews that are assigned to a particular portal user using WebDynpro.
    Thanks and Regards,
    Sayan Ghosh

    Please use following code to get all roles assigned to user:
         IWDClientUser wdUser = WDClientUser.forceLoggedInClientUser();
         IUser user = wdUser.getSAPUser();
         String strRoleID = "", strRoleDesc = "";
         IRoleFactory iRoleFactory;
         iRoleFactory = UMFactory.getRoleFactory();
         // Get All the Roles of the User
         Iterator iteratorRoles = user.getRoles(true);//prtRequest.getUser().getRoles(true);
         // Loop through all the Roles
         while(iteratorRoles.hasNext())
              strRoleID = iteratorRoles.next().toString();
              try
                   strRoleDesc = iRoleFactory.getRole(strRoleID).getDescription();
                   wdComponentAPI.getMessageManager().reportSuccess("Role: "+strRoleDesc);
              catch(Exception e)
                   wdComponentAPI.getMessageManager().reportException("Exception e: "+e, false);

  • Project 2013 REST API - getting all tasks assigned to a user

    I'm trying to get all tasks assigned to a user to display something like you would see in "My Tasks" using the REST API.
    I found this: http://social.technet.microsoft.com/Forums/projectserver/en-US/a5d8760d-8e27-432b-8187-592cadf302ae/get-my-tasks-tasks-via-rest-api-or-web-services?forum=sharepointdevelopment
    But it doesn't seem to pertain to Project 2013.
    Any idea on how I could do this?
    As an aside, I'm having some trouble with finding guidance in the documentation. Are there any Project 2013 developer resources that break things down a little more than the SDK? Everything I've found is pretty Sharepoint-centered, not really getting into
    the specifics of Project.

    Check the samples folder which gets installed with SDK, there you will find some samples, however may not be the REST but with CSOM you could try something like this, i am sure you would be able to convert this pretty easily, in case required
    projContext = new ProjectContext(pwaPath);
    var PrjList = projContext.LoadQuery(projContext.Projects.Where(Prj => Prj.Name == newProjName));
    projContext.ExecuteQuery();
    var GotPrj = PrjList.First();
    //DraftProject projCheckedOut = GotPrj.CheckOut();
    projContext.Load(GotPrj.Tasks);
    projContext.ExecuteQuery();
    foreach (var tsk in GotPrj.Tasks)
    this.textBox1.Text += Environment.NewLine + "Task Name: " + tsk.Name + " || Task Work: " + tsk.Work +" || Task Remaining Work: " +tsk.RemainingWork;
    projContext.Load(tsk.Assignments);
    projContext.ExecuteQuery();
    foreach (var tskAssgn in tsk.Assignments)
    projContext.Load(tskAssgn.Resource);
    projContext.ExecuteQuery();
    this.textBox1.Text += Environment.NewLine + tskAssgn.Resource.Name + "--Res ID--" + tskAssgn.Resource.Id +
    "----Assgn ID: " + tskAssgn.Id + " || Actual Work: " + tskAssgn.ActualWork +
    " || Assgn Remaining Work: " + tskAssgn.RemainingWork
    + " || Assgn minDate: " + tskAssgn.Start
    + " || Assgn maxDate: " + tskAssgn.Finish
    Thanks | epmXperts | http://epmxperts.wordpress.com

  • FSCM Biller Direct Consolidated View for all accounts assigned to a USer

    Hi All,
    I am working on SAP FSCM Biller Direct business packages on EP 7.0
    I am working on Customizations in Biller Direct.Here in the system Each user is assigned to mutlple payers/accounts.
    And all the Assigned accounts to a user are listed in logon page to get into each account.
    Our client needs an additional view which Consolidates all the payer numbers in a single View.
    I would like to know Whether SAP has provided this feature in Business packages or not.IF yes...How to activate this Consolidated view.
    IF we need to customize the account search to a consolidated view or to create a separate consolidated view,Please tell me the procedure to implement if you have done already.
    Regards,
    Venkat

    Venkat,
    As Samir suggested, I looked into Biller's XCM but I don't find. I would like to suggest you to create your own new page for this.
    Thaks,
    Hamendra

  • Role with dynamic iview assignment depending on users

    Hi All,
    We have a situation here for BI reports. Let me explain in detail.
    We have Home role common for every user in portal having home page. Home page contains VC BI iviews.
    Now our requirement is that the role should remain the same but the VC iview should change depending on the user.
    For example.
    User A has home role      should see VC BI iview1
    User B has home role      should see VC BI iview2
    Please guide us how to achieve this.
    Regards,
    Bharat Mistry.
    Edited by: Bharat Mistry on Dec 24, 2007 10:53 AM

    Hi Bharat,
    You can refer to this [link|http://help.sap.com/saphelp_nw70/helpdata/en/53/89503ede925441e10000000a114084/frameset.htm] for detail.
    Also this [thread|Re: Controlling visibility of Second Level navigation tabs in portal;.
    Regards,
    Ami

  • How Do I Allow a List Item to be assigned to multiple users where only one needs to take action on it?

    Hey folks,
    Building a ticketing type system and when a ticket is opened, we want it to go to everyone on our team, not just one person. What's the best way to accomplish this and how?
    Do we:
    1. Make the field blank so it's searchable that way?
    2. Can the assigned to field tied to active directory be filled in with more than 1 name where it doesn't require all names to take action on it?
    3. Saw people mentioning assigning to a group but then not sure how to create a group (names are tied to active directory) and not sure how to make the workflow allow just one and not all individuals in that group to take action on it.
    First step would be for the individual taking action on it to reassign it to themselves, effectively taking it out of the "queue"
    Any help would be greatly appreciated!!
    Oh and just a note that SharePoint Designer wasn't set up for us to use BUT we have InfoPath and that is something we can use (go figure lol).
    Thanks!

    Ben I'll send you the VI
    Attachments:
    TEST.vi ‏589 KB
    TEST.vi ‏59 KB

  • How do I get a list of all image files for a user?

    The Finder folder windows have changed the sidebar. I no longer see any way to configure the Finder window to display a quick search for all images. How do I easily run a search for all image files owned by a user?
    I am just starting to set up a brand new system that came with Yosemite and it's user interface has many changes from my older Snow Leopard system. I have many image files from many different sources that I wish to consolidate on the new system. I do not wish to rely on iPhoto at this point. I prefer to use the file system or Finder  or Spotlight.
    Model Name:
    Mac mini
      Model Identifier:
    Macmini7,1
      Processor Name:
    Intel Core i5
      Processor Speed:
    1.4 GHz
      Number of Processors:
    1
      Total Number of Cores:
    2
      L2 Cache (per Core):
    256 KB
      L3 Cache:
    3 MB
      Memory:
    8 GB
      Boot ROM Version:
    MM71.0220.B00
      SMC Version (system):
    2.24f32
    Model Name: M

    0. find the user id.
        a. log in as that specific user.
        b. run terminal
        c. type "echo $UID"
        d. write down the user id that will be displayed
    1. Go to the finder
    2. go to the user home folder
    3. click the box with the magnifying glass (upper right corner of the window)
    4. type .jpg
    5. a menu will pop under the magnifying glass box, select "jpg image"
    6. click the "plus" sign that's displayed to the right of the word "save"
    7. two pull down menus will appear, select "other" from the first one
    8. a new window will pull down, scroll to "owner" and select it
    9. back in the original window type the user id (a number) to the right of "owner" "equals"
    Hope this helps

  • Accessing Work Items assigned to other users from end user page

    Hello Experts,
    We are using Sun IDM 6.0 SP1 at our client place. Most of the applications integrated with IDM are manually provisioned, in the sense, once after all the necessary approvals are received the request will be assigned to a group of provisioners, they will manually connect to the requested application and create the account in native system. There are more than 100 such provisioners in the organization.
    Current design is to assign a work item to all the provisioners (like Multi approval) and once a provisioner assigns the request to himself then the corresponding work item will be taken out from other provisioners approval queue. These provisioners login to end user page of Sun IDM to access their approval queue as only the end user page is SSO enabled.
    Because of the large number of requests in the system (more than 50k) and each request having 100 work items, the number of work items in the system is huge and thus the performance of the system is very poor so we are working to change the design to bring down the number of work items in the system.
    Customer is not convinced to have a dedicated person who can get all these work items in his queue and assign it to the appropriate provisioner, they are looking to have a solution something similar to the current one in which all the provisioner can see all the requests in the system and they can pick from it and assign to them.
    So we are thinking to create a generic id in the system and assign all the work items to that id, and make changes to the “end user work items list” file so that all the provisioner can see the work items that are assigned to them as well as that generic id.
    But for some reason I’m not getting the work items assigned to other users in the end users page. I have tried assigning all the capabilities to logged in user and tried some code changes in “end user work item list” page.
    Please share if you have any sample code which can list the work items assigned to other users in end user page. Also please let me know if there is any better alternate to this problem.

    Hi,
    There is a option to find and get other user's workitems. Please check the attestation and remediation tab. Use the form portion from attestation page and add it in the Work item list form. This will enable to the user to search for another user's workiteams and assign it to him/her manually. (The user needs to be assigned proper admin rights)
    To get all the workitems, in the system, you will need to query the repository for all the workitems.... but not sure it will be a good idea in your case as the volume is very high.
    Hope it helps
    Regards
    Arjun

  • Get a list of all connection to a resin server

    Hello, I have done some searching on the forum but I cannot find an answer to this question.
    I am wanting a client to see a list of every IP address which is currently connected to my server. I know how to get the address of the client using request.getLocalHost(); but I was wanting to see a list of all active connection if this is possable
    Thanks,
    Alan

    Hi,
    According to your description, my understanding is that you want to get the list of all files of a specific user.
    I suggest you can query the createdBy field to get the result like below:
    https://mydomain.sharepoint.com/_api/files?$select=Title,CreatedBy&$filter=CreatedBy eq 'username'
    Thanks
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jerry Guo
    TechNet Community Support

  • How to get the list of roles assigned to a user in all the child systems

    how to get the list of roles assigned to a user in all the child systems from CUA SYSTEM

    Try transaction SUIM in your CUA system. Go to user, cross-system information, users by roles. If you run it wide open, you'll get all users and all roles assigned for all systems managed in your CUA.
    Krysta

  • How to get the list of application instance assigned to user

    Hi,
    I need to run the query in BI publisher to get the list of all the application instance assigned to a user in OIM 11g R2.
    Please let me know how to get this data. Also please let me know what is the table to see the list of application instance in OIM.
    Thanks

    Got this working..
    The table is APP_Instance to get the details of Application Instance present in OIM.

  • List of all users in a client along with their roles

    Hi All,
    Is there a way to get a list of all the users available in a client along with the roles assigned to them?
    I could actually compare the users and roles individually. But i would like to have a complete list.
    Thanks
    Vijay

    basically you want user reports...
    You can try go to transaction SE38 -> RSUSR*  , all the user reports are started with RSUSRxxxxx, inside might have something relevant to your request.
    cheers,
    Vincent

  • How to get list of Roles assigned to each User

    Hi,
    I have to create a list containing Roles assigned to each user in xMII 11.5.
    Need your help !
    Thanks in Advance !
    Regards,
    Alok

    Alok,
    Did you search (sometimes it is also good to make sure to search the forum for All threads not just the default time window)?
    https://forums.sdn.sap.com/click.jspa?searchID=22562502&messageID=5969490
    https://forums.sdn.sap.com/click.jspa?searchID=22562502&messageID=4890045
    More info from the help docs:  http://help.sap.com/saphelp_xmii115/helpdata/en/Connectors/IlluminatorSystemConnector.htm
    Regards,
    Jeremy

  • How to find out the list of all user's whose passwords are expired

    Hi
    i had tried to find out the list of all user's whose passwords are expired.
    i had written some jndi code by finding the max age and then find out the current time and subtracted this current time from max age using the following code
    "Attributes attbts=ctx.getAttributes("cn=pwdpolicy");
    String maxAge=(String)attbts.get("pwdMaxAge").get();
    Date Today = new Date();
    System.out.println("maxAge"+maxAge);
    long curTime=(Today.getTime())-Long.parseLong(maxAge)*1000;"
    and then parse it and create a string time as follows
    String time=year+month+day+hour+minute+second+"Z";
    where "year" "month" etc were parsed from curTime
    now i can get the list by using following code
    "String filterCriteria="(&(objectclass=person)(pwdChangedTime>="+time+")";
    NamingEnumeration results = ctx.search(baseDN,filterCriteria, sc); "
    but the current time which i am getting is the time of my system not the time of ldap server
    so my questions are following;
    1.Can there is any way by which i can get the tivole sever's system time.
    2.If there is no way then can you suggest any other way to find out the list of user's whose passwords are expired.
    please help me.
    Thanks.
    Krishan Rathi.

    Hi,
    Thanx for ur reply..
    I got the list from the table...
    thanks,
    sivagami

Maybe you are looking for

  • I cant download apps becuase of the bill information

    i cant download apps becuase i put a vise card in and then i bough 4 songs and from then i cant download.

  • Brain Fart on pure AS3 Project

    I Generally hang out in Flex Land, but by no means would be considered a new guy to the world of AS3.  I am currently creating a pure AS3 app and I can't get the darn thing to get a BG color. I  have the following: package import flash.display.Sprite

  • Virus on mac mini?

    When I go to the Chase site to view my accounts, I am getting a popup window from "Fraud Protection Services." Chase says not to respond to it, of course, and I simply closed the window when it came up. Chase suggests there might be a virus on my com

  • What is the best way to import my VHS or Laserdisc Movies into iTunes??

    What is the best way for me to import my vhs movies and laserdisc movies into itunes so I can store them for my family to keep?? Any suggestions would be great. If I get them into itunes I would like to be able to view them on my Apple tv via the com

  • Ipad not syncing, only charges when off

    Disclamers: I use the larger original usb plug to charge (not a small iphone brick or my laptop). And a car adapter that is rated for iPad. There is no water damage. It was dropped a long time ago but has worked without problem before and since. Last