Is there any way too see all data on all enteties an user owns.

Hi all,
Is there any way to see all data an user owns in CRM2011?
Maybe an custom report or view?

I could only think of one solution to this, a little bit of code to get a list of records a user owns. The List contains Entity objects with the Id & LogicalName. You could do this with a report too but you'll have to query every entity...
public List<Entity> GetOwningRecords(IOrganizationService service, Guid systemUserId)
List<Entity> owningRecords = new List<Entity>();
RetrieveAllEntitiesRequest retrieveAllEntitiesRequest = new RetrieveAllEntitiesRequest();
retrieveAllEntitiesRequest.EntityFilters = EntityFilters.Entity;
retrieveAllEntitiesRequest.RetrieveAsIfPublished = true;
RetrieveAllEntitiesResponse retrieveAllEntitiesResponse = (RetrieveAllEntitiesResponse)service.Execute(retrieveAllEntitiesRequest);
foreach (EntityMetadata entityMetadata in retrieveAllEntitiesResponse.EntityMetadata)
if (entityMetadata.OwnershipType != OwnershipTypes.UserOwned)
continue;
try
QueryExpression query = new QueryExpression(entityMetadata.LogicalName)
ColumnSet = new ColumnSet("ownerid"),
Criteria =
Conditions =
new ConditionExpression("ownerid",ConditionOperator.Equal, systemUserId)
EntityCollection result = service.RetrieveMultiple(query);
foreach (Entity entity in result.Entities)
owningRecords.Add(entity);
catch (FaultException<OrganizationServiceFault>)
Console.WriteLine(String.Format("Couldn't retrieve the records for {0}", entityMetadata.LogicalName));
catch (Exception)
Console.WriteLine(String.Format("Unexpected error for {0}", entityMetadata.LogicalName));
return owningRecords;
Hope this helps

Similar Messages

  • If I use an SD card for both Windows 7 and Mac, is there any way to see the documents from the Mac sight while on the windows side?

    If I use an SD Card on both the windows 7 and Mac OS (using bootcamp), is there any way to see the data seen on the Mac OS side while using the Windows OS?

    Windows Aero style uses a different background image than Mac:
    Windows Aero:
    #nav-bar {
    background-image: linear-gradient(rgba(253,253,253,0.45), rgba(255,255,255,0));
    Mac:
    #nav-bar {
    background: url(chrome://browser/skin/Toolbar-background-noise.png),
    linear-gradient(hsl(0,0%,93%), hsl(0,0%,83%));
    I can't test hands on, but you might be able to clear that OSX "fog" using a rule such as:
    @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
    #nav-bar, #PersonalToolbar {
    background-image: none !important;
    background-color: transparent !important;
    This could be applied using the Stylish extension or by creating/editing a userChrome.css file.

  • Is there any way to see all the bookmarked pins at once in Map App?!

    Hello!
    I have been making a route for my next mountaineering trip using the red pins on the map app! i have like 20 bookmarks. I could see all the bookmarks at once and it was so nice. but after I searched another place all the bookmarks dissapeared. now i can see only one of the bookmarks at a time! is there any way to see all of them together again ?! please someone help I put so much affort to find the correct route...

    Richard,
    Is there any way I can simply list everything at once?
    The best workaround I'm aware of comes courtesy of BMan1854: Create a Smart Playlist that will Match the following rule: Date Added is after 01/01/2001 (or whatever the day before the day that you first started your iTunes Library is). That playlist will show your entire library.
    Or is there a way so that when I add new podcasts it will get rid of the old ones automatically?
    Have you gone to the iTunes Edit menu > Preferences > Podcasts tab and checked out the various options listed in the Keep drop-down menu.

  • HT3576 I accidently cleared the push notifications on my i pad and now i want to see them back.is there any way to see them,because i have to see all the application what the notifications was for.it takes a lot of time.i am isking this to save my time in

    I accidently cleared the push notifications on my i pad and now i want to see them back.is there any way to see them,because i have to see all the application what the notifications was for.it takes a lot of time.i am isking this to save my time in future

    I found one other way to do it.  I just deleted them all out of my iTunes library. Now I can re-import them from Window's My Music file with the original artists' names intact.
    Thanks for your help, Matt!

  • Is there any way to see all available taskflows to use in jdev.

    Hi,
    I am developing a ADF application, i want to know if my UI project has consumed a number of other UI (ADF Lib) jars. Is there a way to see all the available taskflows to use in my application which is there due to the imported jars.
    To Iterate my question, I have a Ui project say AUI and it has imported BUI and CUI but using only one taskflow from BUI.jar, while BUI and CUI has some more taskflows which I have not used but is there any way to see all of them.
    Thanks
    Vipin

    Hi there,
    One thing is to have access to a repository of libraries containing taskflows that you may use within an specific project. Once you import this library into the project usually depending on how you did it, it means that you are using it at some level. In my opinion the best way it to create a connection to your repository and see all the libraries and choose the available taskflows that you might want to include. Instead of searching from the inside out (where is a library used at?) You could always find usages and validate where things are coming from.
    Also in future releases we are working on visually displaying those mapping between elements.
    Another option for validating what's inside and what's being used could be to use Maven in order to keep all dependencies from your project in order: http://donatas.nicequestion.com/2012/06/using-jdeveloper-maven-integration-to.html
    Juan Camilo

  • I have a new iPad with anO2 micosim when I purchase O2`s 200mb daily data allowance I lose 50 mb right of the bat . O2 say its the iPad doing it , is there any way to see what is happening?

    I have a new iPad with anO2 mico sim when I purchase O2`s 200mb daily data allowance I lose 50 mb right of the bat . O2 say its the iPad doing it , is there any way to see what is happening?

    Can't help you except to point you to the following topic which seems to be directly related to your issue. Be aware that it's quite a long topic to read through...
    https://discussions.apple.com/thread/3029461?start=0&tstart=0

  • Is there any way to see my messages from my iphone from my computer? like see it all on my computer?

    is there any way of seeing my iphone text messages from my computer??

    Get third-party software, like this:
    http://www.wideanglesoftware.com/touchcopy/index.php
    Extract them, & read to your heart's content.
    There is no Apple supported way to do so.

  • If meta data LUN is totaly destroied , is there any way to rebuild the data from the video LUN

    If meta data LUN is totaly destroied , is there any way to rebuild the data from the video LUN ????

    What happened to your metadata? Are you sure the metadata is gone?
    In theory, file carving could be attempted on the data LUNs, but you would need a tool that understands how Xsan lays out data across LUNs in a stripe group and hope your fragmentation isn't too bad. I doubt such a tool exists, but if one does it almost certainly is not publicly available. You should probably contact a data recovery service with experience recovering data from Xsan. Do that before you do anything else if this data is really important.

  • Is there any way to retrive the data from my USB Key

    Hello,
    I have a usb key I have been using on a Win 7 desktop computer and a Mac Book Air to put in Data on a spread sheet.
    I interchange to put in the data between the computer and my MBA without any problem.
    I am today not able to open the usb memory key in either-Computer or the MAC Book Air.
    Does that mean I have a coruppted USB memory key and the data lost for ever?
    I have just put the USB memory key in my computer and it says File System CDFS.
    I put it in MAC Book Air and it would not open either!!
    Is there any way to access my data. I have no back up...

    If the USB drive won't mount on either computer, it's probable that the drive has failed, in which case it's unlikely that you can recover any data from it. You can do a web search for something like "flash drive file recovery" and you'll find a number of utilities that purport to do file recovery, but all the utilities I'm familiar with require that the drive at least be mountable. There may be services that could attempt recovery, but they tend to be expensive.
    The moral of the story is: never have only a single copy of a critical document, and if you must, never, never have your single copy only on a flash drive (or floppy, for those "old timers" who still use floppies).
    Regards.

  • Iphone 3GS was dropped and will not turn on or respond to USB connection.  Is there any way to extract the data off when it is not responding so that I can restore to my new phone?

    The phone is physically intact, but you can see the LCD is cracked behond the glass. I have tried plugging it in, tried putting it on the charger, and resetting it using the off and home buttons, bit response. I don't need the phone to work, but I do need to be bale to back it up in order to restore to the new phone.  Is there any way to extract the data or back up the hard drive without repairing the phone?  Just curious what my options are before I spend cash trying to fix the phone and find out there was another way to get the data.  Any thoughts here or should a good repair shop being able to create a backup somehow?

    Im not going to be much help because I don't know of anything else to besides take it somewhere that fixes electronics and see if they can get it off some how maybe if you take it to an apple store they can do something to get your information.

  • I had ordered a photo book print two years back. I want to reorder the same book again now. However, I have lost the album project in iphoto. Is there any way to see my print order history and reorder the same book for print ?

    I had ordered a photo book print two years back. I want to reorder the same book again now. However, I have lost the album project/photos from iphoto.
    Is there any way to see my print order history and reorder the same book for print ?

    No.  Apple only keeps the pdf file for a book for 30 days.  Without the library and book project you won't be able to reorder the same book.
    Even though the horse is out of the barn the following tutorial might be of help for future books, i.e. create a new library for each book): iP08 - Archiving an iPhoto Book for Editing and/or Ordering at a Later Date
    OT

  • Is there any way to see if any other FaceTime id or iCloud account has logged into my personal iPhone and iPad

    Is there any way to see if any other FaceTime id or iCloud account has logged into my personal iPhone and iPad

    If you are concerned.  
    Log off all iCloud and Apple ID accounts on your devices.
    Change you password for Apple ID and iCloud.
    Please read so you don't get stuck!
    http://support.apple.com/kb/HT5621

  • HT1420 Is there any way to see the computers authorized on my account so that I can deauthorize only the ones that are no longer functioning?

    Is there any way to see which computers are authorized on my account so I can deauthorize the one's we don't have anymore?

    You can only do that by deauthorizing all computers then re-authorizing the ones you still own.
    De-authorizing Computers (contributed by user John Galt)
    You can de-authorize individual computers, but only by using those computers. The only other option is to "de-authorize all" from your iTunes account.
      1. Open iTunes on a computer
      2. From the Store menu, select "View my Account..."
      3. Sign in with your Apple ID and password.
      4. Under "Computer Authorizations" select "De-authorize All".
      5. Authorize each computer you still have, as you may require.
    You may only do this once per year.
    After you "de-authorize all" your authorized computers, re-authorize each one as required.
    If you have de-authorized all computers and need to do it again, but your year has not elapsed, then contact: Apple - Support - iTunes - Contact Us.
    For more information on authorization and de-authorization: iTunes Store- Authorize or deauthorize your Mac or PC.
    Before you get rid of a computer you should do certain things: What to do before selling or giving away your Mac.

  • Is there any way for updating wrong data in ODS and infocube?

    Hi all
        Is there any way for correcting wrong data in ODS and infocube?

    You could do a selective deletion, by specifying the filter values, so that you only delete a subset of the entire data. You could then do a re-load for the same selection so that there is no duplication of records.
    This is on the assumption, that your incorrect data is due to some incorrect update or transfer rules, which you have now corrected (before the re-load).
    mate, you have mentioned that You could then do a re-load for the same selection .
    could you please tell me how to do a re-load ?   thank you very much

  • Is there any way to access my data in case i didnt back up my data on icloud and also erased the data from my iphone?

    I accidentally erased all my data from my iphone and plus i also forgot to take the back up of the same, so i want to ask is there any way to get my data back?

    There might be an outside chance of getting the data back from your iPhone, if it hasn't been overwritten. There are some programs you can run on your computer to scavenge files from your iPhone, even though they have been deleted. You'll need to search on the Internet to find those programs, and then you'll have to buy one of them. And, it's always a "buyer beware" situation when you do that, so research carefully.
    Here's one search to start with ...
    https://www.google.com/#q=recover+deleted+iphone+files+no+backup

Maybe you are looking for