User Profile access

Which way are you guys going, assuming 6.x and above:
portletRequest.getSettingValue(SettingType.UserInfo,"PROPERTY_NAME");
or
Profile.PROPERTY_NAME (which I believe requires a web.config entry)

no i don't use teh app accelerator. just ptwc. i have found app accelerator to be too confusing and buggy.
app accelerator = ptwc + portletAPI (the templates, etc)

Similar Messages

  • We are using SharePoint 2010 server with service pack 1 want to remove/delete old user profiles & site from server

    Hi Team,
    We are using SharePoint 2010 server with service pack 1, we want to remove/delete old user profiles, access & site from server
    is there any script or feature available using that we can only remove dactivated/deleted/old user profiles, access & site.
    Thanks
    NPratik

    Take a look at Metalogix ControlPoint, which will compare user accounts on SharePoint to Active Directory and remove accounts that no longer exist in AD (or are disabled).
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • What Are The Minimum Permissions In Order An User To Be Able To Access User Profile Data With JavaScript And REST API

    The question says it all:
    What Are The Minimum Permissions In Order An User To Be Able To Access User Profile Data With JavaScript And REST API.?
    In the User Profile -> Permissions there is only the option for "Full Control".

    Hi Nikolay,
    Thanks for posting your issue, you need to set permissions on User Profiles = Read. Kindly find the below mentioned URLs to get the code and more details on this.
    http://www.vrdmn.com/2013/02/sharepoint-2013-working-with-user.html
    http://www.vrdmn.com/2013/07/sharepoint-2013-get-userprofile.html
    http://sharepoint.stackexchange.com/questions/61714/sharepoint-2013-call-the-rest-api-from-sharepoint-hosted-app
    http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2013/04/09/how-to-query-sharepoint-2013-using-rest-and-javascript.aspx
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Access RemoteApp error: The User Profile Service service failed the sign-in

    I have couple of users in MYAPPS group that is a part of Collection.
    Only me (domain admin) and other domain member user can access the app from RDWEB.
    When an other domain admin and an another domain user try to access the app (from different machines) they get:
    "Access RemoteApp error: The User Profile Service service failed the sign-in"
    RDS is Server 2012 R2 clients W7, W8.
    I found all kind of troubleshooting for Vista and W7 non RDS scenario.
    What it could be? A bit confusing... one admin Yes another no. The same for regular domain member
    1. users can login to RD Web (https:../rdweb) . The published app appears
    2. When clicking on the app icon the screen below appears
    "When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

    Checked Event. There were errors indicating that default profile files cannot be copied to user_name profile.
    One of them:
    Windows cannot copy file
    \\?\C:\Users\Default\AppData\Local\Microsoft\Windows\WinX\Group3\08 - Power Options.lnk to location
    \\?\C:\Users\blue\AppData\Local\Microsoft\Windows\WinX\Group3\08 - Power Options.lnk. This error may be caused by network problems or insufficient security rights.
     DETAIL - The process cannot access the file because it is being used by another process.
    After doing more research I found a suggestion that actually fixed the problem instantly:
    -- We also see this problem. You should try to uninstall KB2919355 --
    Other people experience the same problem with RDS 2012.
    Here is the discussion:
    http://serverfault.com/questions/590651/copying-default-profile-for-new-users-fails-with-the-process-cannot-access-the
    I did check KB2919355. It looks like pretty important...
    All future security and nonsecurity updates for W8.1 and 2012 R2 require this update to be installed...
    So how to deal with this thing?
    May be somebody from Microsoft will see this post and can suggest other workaround instead of removing the important patch.
    Thanks Jay for pushing me to check Event :)
    "When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

  • Is there a configuration option to prevent an unprivileged user from accessing the firefox profile manager and/or firefox safe mode?

    I'm designing a locked-down Firefox user profile for use on public computers (common room in an apartment building). I can use existing plugins and add-ons to prevent access to about:config and to lock down the various firefox preferences but this is moot if a user can still access the firefox profile manager or can start firefox in safe mode. Is there any configuration setting that could prevent this?

    Hi...
    Reinstalled 10.7.3 from the Combo Updater from apples website.
    The only way to reinstall the Mac OS X or repair the startup disk running v10.7.3 Lion, is to use Lion Recovery The combo update does not do that.
    How much free space on the startup disk? Not enough free space can account for the problems with your apps.
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure there's a minimum of 15% free disk space.
    and no web-pages will load.
    Try using OpenDNS as suggested here >  Safari 5.0.1 or later: Slow or partial webpage loading, or webpage cannot be found
    Use OpenDNS for better speed, more security, includes anti phishing filters, prevents browser redirects, and it's free.
    Open System Preferences / Preferences then select the Network tab. Click the Advanced tab then click the DNS tab.
    Click +
    Enter these addresses exactly as you see them here.
    208.67.222.222
    Click +
    208.67.220.220
    Then click OK.
    edited by:  cs

  • Unable to access time machine backups after creating new user profile

    Hi,
    I had visited the Genius Bar with some problems with iTunes not opening. The Genius had indicated that I likely had some corrupt files and that the easiest fix would be to create a new user profile... So we did...
    After transferring all my data over to the new profile and setting everything back up as I like I deleted the old (presumably corrupt) user profile. To my dismay I no longer have access to any of my time machine backups that were created prior to setting up my new user profile... They appear to still all be there. However, I am unable to select any of the dates prior to the new user profile's creation and the deletion of the old profile...
    Please help...
    Thank in advance,
    Des

    desbiss wrote:
    After transferring all my data over to the new profile and setting everything back up as I like I deleted the old (presumably corrupt) user profile. To my dismay I no longer have access to any of my time machine backups that were created prior to setting up my new user profile... They appear to still all be there. However, I am unable to select any of the dates prior to the new user profile's creation and the deletion of the old profile...
    That's correct. What you see in Time Machine's "Star Wars" display depends on what you have the Finder window set to. While looking at the new profile, you can't see any backups that were done before it existed.
    You're right, they're still there, for now, but are grayed-out in the timeline at the right, because what's in the Finder window wasn't backed-up then.
    If you select your internal HD or Computer Name in the sidebar, you'll be able to see those backups.
    But since they're for a different user, you won't be able to view inside that home folder or restore from it -- one user, even an Admin user, doesn't normally have access to a different user's data.
    It's doubtful, but you might be able to create a new user with exactly the same name as the one you deleted, log on to it, and see if the old backups appear.

  • Accessing Portal User profile info from report

    Once the user logs into portal, I would like to access some of the user profile information (personal or organizational details). I need to find the stored value of the employee number, e_mail and department. This is needed to restrict the information that will be returned to the user in portal reports.
    ie. Access the portal users department and only show them information fo that specific department. If I can access I can store the value in a session variable or cookie.

    Just have a look at <portal_schema>.wwsec_person$
    There is also an API <portal_schema>.wwctx_api.get_user to get the user currently logged in.
    Thanx,
    Chetan.

  • Can't access old user profile data (folders with - signs)

    Hi,
    My iMac (model below) running 10.6.8 would not load from the start-up screen, so I reinstalled the OS from the instalation discs.  After doing so I was able to gain access the desktop, but had been assigned a new user profile.  My previous music, email, photos etc. were stored in a "previous system" folder, and while I can access the overall folder many of the sub-folders have a in the lower corner which keeps me from being able to open/access them.
    Is there a way for me to open or move these files?  Or perhaps reinstate this "previous user" to the system?
    I am further stuck because I purchased the upgrade from 10.4, to 10.6 electronicially and now can't access the information needed to return to that system.
    Any helpw would be greatly appreciated.
    Thanks, Scott

    Thanks Again Niel, you are super fast!!! 
    I went to the system preferences and then user and saw that the only user currently was also marked as "Admin".  So I tried it again with my photos folder and entered the longer name and password I set up and it worked.  What was different was that I changed the Admin name from the "short" name put in the field automatically to the "longer" name along with the password.
    Not sure how this going to work with my email or how to get back to my upgraded version of Mac OS, but I guess I can keep playing with it and see.
    Thanks again,
    Scott

  • Cannot access user profile after recovery to previous restore point

    On Satellite laptop internet access via wireless very slow 10 mins at startup sometimes. Suspected application recently installed making early access before system ready so decided to restore.
    After recovery in safe mode [windows 7] error messages starting with ie4uinit.exe cannot start also several other progs will not start...temp user is now only access to machine...no ie or applications...network wireless ok...can see files and folders on hdd. No application programs listed.
    Although admin user cannot seem to regain old user profile or set up new user...no passwords used
    How do I get back to my old user profile please?
    Mark

    As I can see you have posted this under Toshiba Product Recovery category although your action has nothing to do with Toshiba recovery installation and, for me, it is Microsoft related issue.
    To be honest I didn't understand what happen exactly but somehow I feel everything is messed up.
    My advice: if possible back-up all your important data and make clean recovery image installation.
    After doing this you will have factory settings and clean preinstalled OS so you will be able to use your notebook without any problems.
    Your other thread:
    http://forums.computers.toshiba-europe.com/forums//thread.jspa?threadID=69938

  • Office 365 - Access User Profile -Error: Attempted to perform an unauthorized operation

    Hi,
    I am using a console application to read the user profile data in office 365.
    I am getting the error as "Attempted to perform an unauthorized operation", while running the console.
    I have used the below code:
    static void Main(string[] args)
    Uri test_targetSite = new Uri(test_siteurl);
    string decryptedPwd = Decryptdata(password);
    foreach (char c in decryptedPwd)
    securePassword.AppendChar(c);
    SharePointOnlineCredentials onlineCredentials = new SharePointOnlineCredentials(login, securePassword);
    //getting UserProfile Service
    TestAdminUserProfileService.UserProfileService admin_ups = new TestAdminUserProfileService.UserProfileService();
    admin_ups.UseDefaultCredentials = false;
    string authCookieValue = onlineCredentials.GetAuthenticationCookie(test_targetSite);
    admin_ups.CookieContainer = new CookieContainer();
    admin_ups.CookieContainer.Add(new Cookie("FedAuth", authCookieValue.TrimStart("SPOIDCRL=".ToCharArray()), String.Empty, test_targetSite.Authority));
    // Gets the first profile
    GetUserProfileByIndexResult pResults = admin_ups.GetUserProfileByIndex(-1);
    int totalUsers = (int)admin_ups.GetUserProfileCount();
    int counter = 0;
    //Loop through all UserProfiles and Add to custom Group
    while (pResults.UserProfile != null)
    try
    // Get the next profile
    pResults = admin_ups.GetUserProfileByIndex(Convert.ToInt32(pResults.NextValue));
    How to fix this for Office 365?
    Thanks

    Hi,
    Thanks for the reply.
    1. How to check, which is the App pool account for office 365 portal?
    2. Which account has access to user-profile service application? if yes, how to verify the same?
    3. How to access Manage service applications in office365? Like in SharePoint 2010 or 2013
    Go to SharePoint Central Admin > Application Management > Manage Service Application
    Thanks

  • HT1926 when i try to download itunes 11 my computer stops the download and displays the message could not access network location #user profile%\start menu\programs\startup\

    when i try to download itunes 11.1 or any updates i get the message could not access network location #user profile%\start menu\programs\startup\. any help

    Let's try the fixit from the following Microsoft document with that one:
    Fix problems with programs that can't be installed or uninstalled

  • Date modified of user profile can be considered as date the user last accessed the server?

    Hi,
    I have a terminal server with large number of old profiles.what is the Microsoft way to clear these?
    Is the last modified date of user profile can be considered as date the user last logged in to this server?
    Regards,
    Arun
    Best Regards, Arun http://whynotsql.blogspot.com/

    Hi Arun,
    For deleting old profiles please test the following group policy setting using gpedit.msc:
    Computer Configuration\ Administrative Templates\ System\ User Profiles\
    Delete user profiles older than a specified number of days on system restart     Enabled
    Delete user profiles older than (days)     30
    It is applicable to Windows Server 2008 and later.  You may need the following hotfix if you are running Server 2008 R2 (no SP1):
    http://support.microsoft.com/kb/983544
    Thanks.
    -TP

  • How do I access my user profile in finder under favorites?

    On my new macbook pro, in finder, I am not able to see my user profile with all of my documents, downloads, music, pictures, etc. under favorites in the sidebar. How do I get my user profile to show up?

    Choose Home from the Finder's Go menu and drag the folders to it.
    (103647)

  • I am having a serious issue with all my apps disappearing/not working- user profiles

    i will list the things i have done in the past 24 hours, hopefully one of you knows what happened...thank you in advance
    first off, my situation- was that i bought a macbook pro(about a year ago) with lion or snow leopord it is software 10.7.5 i dont know what the guy did but when he sent me the computer the username was off and so was the home folder, i changed the username with ease but the home folder stayed tbd and i couldnt figure out how to change it. well it finally got on my nerves enough from looking at it that i wanted to change it today that put me into the situation i am in. Here is what i have changed:
    -I added a second profile as to see if i could change the home emblem file named tbd to what i wanted.  This worked or so i thought. 
    - then shared and permissions showed tbd(me) so i wanted to change that also so i went into systempreferences>users and groups>login options>network account server and clicked join/open directory utility.  this is where i believe i went wrong i read in a forum that this is what you needed to change to make it look how i wanted it to.   under active directory it still had this guys name gtmb04_evan so i changed it to my name like the forum said, well his name is back up even though i changed it. and this is when everything stopped working.
    symptoms:  all my applications act like they are newly downloaded and make me set them up. 
    - my home screen is nothing like it was before, no apps are on the desktop and the bar along the bottom only has the basic ones
    - i tried to take the second username off of administrater which made me restart my cp(all my stuff looked normal until this, but didnt work) 
    -my launchpad wasnt showing any apps they simply looked blank
    - my firefox along with many other apps wouldnt even start prior to reseting and gave me a message with something like couldnt find or access user profile( i forget the entire message)
    please please help me, i hate this right now and have no idea what to do, all my files are still under my name, that when i thought i changed tbd- it apparently just made a new folder under users which didnt show up until the restart, i do not have a time machine set up on this computer because i hated the lion setup and couldn't get it to operate correctly

    i had one mac and spilt water on it, the motherboard fried so i had to buy a used one...being in school and all. it is a MC375lla
    Model Name:
    MacBook Pro
      Model Identifier:
    MacBookPro7,1
      Processor Name:
    Intel Core 2 Duo
      Processor Speed:
    2.66 GHz
      Number of Processors:
    1
      Total Number of Cores:
    2
      L2 Cache:
    3 MB
      Memory:
    8 GB
      Bus Speed:
    1.07 GHz
      Boot ROM Version:
    MBP71.0039.B0E
      SMC Version (system):
    1.62f7
      Hardware UUID:
    A802DE22-1E57-5509-93C5-27CEF01377B7
      Sudden Motion Sensor:
      State:
    Enabled
    i do not have a backup of it, so i am thinking about replacing my old hard drive from the water damaged into this one, not even sure if that would work, but it did not seem to be damaged, as i recovered all the files i wanted off of it to put onto this mbp
    the previous owner didnt have it set to boot, they had all their settings left on it and tried to edit all the names on it, had a bunch of server info and printers etc crap on it.  i do not believe he edited the terminal system though--he doesnt seem to terribly bright(if thats possible)
    tbh i hate lion compared to the old one i had, this one has so many more issues-overheating,fan noise, cd dvd noise
    if you need screenshots or data of anything else as away
    [problem is i do not want to start from scratch if there is a chance of fixing it, this one did not come with disks or anything like my first. so i dont even know if i could, and how it sets now i am basically starting from scratch, because now all my apps are reset but working, i am hoping to get my data back somehow though, i lost all of my bookmarks and editing all my apps and setting again would be a pain

  • How do my GF and I share our iTunes library across our user profiles?

    I'm sure this question has been asked a million times but here goes.
    My GF and I both have a user profile on our Mac Mini. She is just now setting up her new iPhone and wants to be able to get music on it and such from her own profile.
    All of the iTunes (and iPhoto) media sits on an external 2TB hard drive. I can see everything free and clear in my profile. When I log into her profile she's got nothing in her music library. How can we get her to be able to access the same library? Also, is there a way to ensure that if she were to add new music to her folder that I would see it in mine?
    Your big brains appreciated on this. I'm sure there's a simple solution, no?

    perhaps the following kb article will help:
    http://support.apple.com/kb/HT1495

Maybe you are looking for

  • Error -36 when trying to delete from external HD

    Hi there, As obviously many people before me, I've just experienced the Error Code -36 problem. I'm using an external WD 2tb USB hard drive, formatted to NTFS. It has always worked perfectly using Paragon NTFS (got 10.0.2 installed atm). Today I trie

  • FAQ: How do I go about learning ActionScript 3.0?

    Here are a few hand-picked resources for getting started with AS3  that hopefully will give new users confidence to try ActionScript and to  know that they are looking at some of the best resources for learning  it. These are all video tutorials. Cod

  • Invalid cast type error

    Hello, I create a new class object at runtime using: Class dmClass = Class.forName(dmClassName); I want to be able to use the Class object, dmClass, to cast new objects but I can't seem to get this to work. I've tried: (dmClass) ....... (dmClass.getN

  • Value based on date param?

    i work for a electric utility and we have customer meter readings imported into the database on a daily basis.  I would like to be able to calculate the daily use based on (2) date parameters (BEGDATE) & (ENDDATE).  Any ideas how to approach this?

  • Linked Object

    Hai, i can create a linked object & assign through the datasource to salesperson screen but its a problem when the sales person selected through the orrange arrow help Screen but this value should not reflect in my screen when i return to the origina