Got rid of User Profiles data source in 2013?

We're trying to put together an approval workflow using 2013, but it seems like they got rid of the "User Profiles" data source, so you cant simply select the Manager of the current user. I wanted to add that manager to the Participants of a Task
process, but I kind of hit a brick wall with that.
Is the process overall different in how I would talk to the active directory through the workflow? Or should I just stick to 2010 workflow?

Correct, it is no longer there. You're going to have to use the user profile web service. See here:
http://sharepointrocks.wordpress.com/2013/08/22/sharepoint-2013-using-infopath-and-userprofileservice-asmx-with-claims-based-web-applications/
Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

Similar Messages

  • GRC 10 - Legacy connector as user detail data source

    Hello, 
    I'm trying to use a legacy connector (with a text file as input) as a user data-source.
    Repository user sync for this legacy connector works : checked GRACUSER table, it is populated with all the user details from the input file (id,firstname,lastname,mail,department,phone
    I got it working for user search data source : when creating an access request for "other" user, searching for a user ID/name works : data are displayed in search result, however when I select the user from the serach result the user details are not populated in an access-request form.
    Any clue about this ? Any one already got this working ?
    GRC 10.0 SP13.
    Checked SP14 and SP15 release notes, and found no relevant notes yet.
    repository-related notes applied :
    -1864423
    -1950231
    Regards,
    Emmanuel.

    Hi Pedro,
    You only have confirmed that 2 accounts are maintained in HCM and in SU01 as well, so you would be able to see these accounts' details both ways.
    Yes, you are right about user account maintenance first in HCM at the time of new hire, then you can manually raise the access request to grant them access to various SAP systems. Or in order to automate this process as Prasahant suggested, you can take help from HR Triggers.
    You can refer: GRC 10.0 - HR Trigger configuration - Governance, Risk and Compliance - SCN Wiki
    But responding to your original discussion, whatever user accounts are maintained in HCM you would see those details provided you define HR for the "user search data source" AND from SU01 for "user detail data source"
    In your case you have 2 accounts which have been maintained in HCM as well as SU01, so that is what creating confusion for you.
    Let us know if you need any more clarifications.
    Regards,
    Ameet

  • Lync monitoring Details reports are not getting opened, Getting SQL error like "Cannot impersonate user for data source 'CDRDB"

    Hi,
         Two month before, We have deployed Lync 13 set up with lync monitoring and archiving service enabled. After configuring we have the Lync monitoring and archiving services are working fine... few weeks back I have changed the Admin Password
    of the Lync Setup. After that Lync Monitoring and Archiving services are not working.
    when I try open Lync monitoring service from web UI, 
    http://localhost/ReportServer_LyncMonitoring/
    Web UI is opening but Reports home page is not Accessible , Getting error Like
    "An error has occurred during report processing. (rsProcessingAborted)
    Cannot impersonate user for data source 'CDRDB'. (rsErrorImpersonatingUser)
    Log on failed. Ensure the user name and password are correct. (rsLogonFailed)
    The user name or password is incorrect"
    Please help me to trouble shoot this problem.
    Thanks,
    Rajarajan.D

    Hi Rajarajan.D
    You probably need to update the password against the CDRDB datasource in SSRS Report manager, take a look at this article: http://lyncme.co.uk/microsoft-lync-server-2013/cannot-impersonate-user-for-data-source-cdrdb-rserrorimpersonatinguser-error/
    If this helped you please click "Vote As Helpful" if it answered your question please click "Mark As Answer"
    Georg Thomas | Lync MVP
    Blog www.lynced.com.au | Twitter
    @georgathomas
    Lync Edge Port Check (Beta)
    This forum post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • User Details Data Source

    Hello all,
    I´m working to configure the user search data source and also user details data source from our GRC AC environment. Bellow my doubt:
    Can I configure GRC AC to automatically fill the Manager field in the access request screen? Obviously the User Details Data Source must be configured. Is it possible using SU01? HR? LDAP? All of them? Some examples would be really appreciated.
    In other words:
    When an Access Request is made, I want all User Details filled automatically, including the Manager.
    Regards,
    SAP Legend

    Hi,
    Yes you can configure the manager look up functionality by configuring the detail data source in the IMG and make sure you do all the configurations respective to what data source you are using.
    If you are using LDAP then make sure you have done the mapping for your AC field name and target system field name and all the LDAP related configurations.
    If you are using HR system as the data source please check the below link.
    Configure Manager Look-Up in ARM for GRC 10
    Regards,
    Neeraj

  • User Profile Data for One Month in ST03N

    Dear All,
    I have one question for a similar requirement.
    I want to see the User Profile data for last month (e.g.August)
    I navigate through the same path as described by you.
    ST03N- Expert Mode- Total (select period)-- User Profile (from analysis view)
    even though I have selected One month period (August) ; I could see only the data for one week (1st August to 7th August)
    Can you please advice how can I solve my purpose, if not this time but may be in future I should be able to see complete one month data.
    Thanks in advance.
    Best Regards,
    Jayesh

    Dear Shailesh,
    Thanks for the very prompt and accurate response.
    However we have this job scheduled on monthly basis in our productive system, still there is no data avaialable.
    Kindly advice.
    Best Regards,
    Jayesh

  • User Details Data Source in CUP 5.3

    Dear GRC Gurus,
    Iam configuring CUP 5.3., in the User data source (which is used to fetch users,approvers,managers from backend)  there is User Details Data Source -> i select SAP and i get the system name -> There is a Field Function Template -> there are two options, standard and Custom. 
    What is the use of Function Template ?
    What is standard and Custom?
    If we select Custom, what should we enter in Function Template Name?
    Can you please clarify
    Thanks a lot...
    Regards
    Selva

    Hi,
    The user data source only reads the user details for use in defaulting the information into request forms / workflow.
    I believe that the function template just tells the system whether to use standard fields within the SAP user master or whether you have requirements to use alternative field mappings.
    I don't think that the custom template name matters as it is identified.
    I must admit that I haven't used it so I may be wrong but that is my current understanding!
    Regards, Simon
    Edited by: Simon P Persin on Oct 26, 2009 4:40 PM

  • GRC AC - HCM as user search data source

    Hello all,
    I´ve configured GRC AC to user HCM as user search data source and also user details data source. During my user change tests through the "Access Request" function, I noticed that only existent users at SU01 and HCM (checked through PA30) appear in the access request User Selection. Existent users at HCM but not at SU01 doesn´t appear.
    Someone can tell me why? I mean, if I configured the user search to use HCM as data source, shoudn´t it bring all HCM users regardless of his existence at SU01?
    Thanks in advance,
    Pedro

    Hi Pedro,
    You only have confirmed that 2 accounts are maintained in HCM and in SU01 as well, so you would be able to see these accounts' details both ways.
    Yes, you are right about user account maintenance first in HCM at the time of new hire, then you can manually raise the access request to grant them access to various SAP systems. Or in order to automate this process as Prasahant suggested, you can take help from HR Triggers.
    You can refer: GRC 10.0 - HR Trigger configuration - Governance, Risk and Compliance - SCN Wiki
    But responding to your original discussion, whatever user accounts are maintained in HCM you would see those details provided you define HR for the "user search data source" AND from SU01 for "user detail data source"
    In your case you have 2 accounts which have been maintained in HCM as well as SU01, so that is what creating confusion for you.
    Let us know if you need any more clarifications.
    Regards,
    Ameet

  • 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

  • Disobey the user profile date setting in module pool

    Hi all,
    I am working on a module pool. I have a request to disobey the user profile date setting dd/mm/yyyy to user requested date format dd-mm-yyyy.
    I understand that it can easily be done in SAPScript with command SET DATE MAST dd-mm-yyyy, but how to do it in module pool?
    Thanks in advance.

    Hi, Wong.
    Follow the Steps Bellow
    --> Copy Search Help BU_DATE_CHAR to ZBU_DATE_CHAR using T-Code SE11
    --> Copy FM BUS_TOOLS_DATE_CHAR_EXIT to Z_BUS_TOOLS_DATE_CHAR_EXIT using T-Code SE37
    --> Open ZBU_DATE_CHAR in Change mode and add Z_ in the Start of Search help exit FM as we have copy new
    --> Active ZBU_DATE_CHAR it will not give you any Error message may be one Warning message but Ignore this.
    --> Active Z_BUS_TOOLS_DATE_CHAR_EXIT my will give you error message do the following Change
         in Changing Tab SHIP type SHLP_DESCR    " Change the Previous type with this one.
         in Tables Tab SHLP_TAB type SHLP_DESCT  " Change the Previous type with this one.-->
    --> After doing above changes.
    --> Add the following line of Code on line number 92 just before the line APPEND record_tab.
    REPLACE ALL OCCURRENCES OF '.' in record_tab-string WITH '-'.
    --> Activate both Search Help and FM
    now in the Search help filed in Module Pool you where using BU_DATE_CHAR use ZBU_DATE_CHAR
    I did the above way and it is working fine this way now When i Press F4 and select some date it show in the Field like 01-01-2009 Previously it was showing me 01.01.2009
    Please Reply if any problem,
    Best Regards,
    Faisal

  • Cannot impersonate user for data source 'SMSDB'. --- Microsoft.ReportingServices.Diagnostics.Utilities.LogonFailedException: Log on failed. ---

    After Upgrading from SCCM 2012 Sp1 to SCCM 2012 R2 we are getting following error:
    System.Web.Services.Protocols.SoapException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException:
    Cannot impersonate user for data source 'SMSDB'. ---> Microsoft.ReportingServices.Diagnostics.Utilities.LogonFailedException: Log on failed. ---> System.Runtime.InteraopServices.COMException: The referenced account is currently locked out and may not
    be logged on to. (Exception from HRESULT: 0x80070775)
       at Microsoft.ReportingServices.WebServer.ReportingService2005Impl.GetReportParameters(String Report, String HistoryID, Boolean ForRendering, ParameterValue[] Values, DataSourceCredentials[] Credentials, ReportParameter[]& Parameters)
       at Microsoft.ReportingServices.WebServer.ReportingService2005.GetReportParameters(String Report, String HistoryID, Boolean ForRendering, ParameterValue[] Values, DataSourceCredentials[] Credentials, ReportParameter[]& Parameters)
    Microsoft.ConfigurationManagement.ManagementProvider.SmsException
    An error has occurred during report processing.
    Stack Trace:
       at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ParameterPresenter.GetParameters()
       at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ParameterPresenter.LoadParameters(IReport report, Collection`1 navigationParameters, IResultObject resultObject)
       at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerPresenter.Worker_DoWork(Object sender, DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    System.Web.Services.Protocols.SoapException
    System.Web.Services.Protocols.SoapException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException:
    Cannot impersonate user for data source 'SMSDB'. ---> Microsoft.ReportingServices.Diagnostics.Utilities.LogonFailedException: Log on failed. ---> System.Runtime.InteropServices.COMException: The referenced account is currently locked out and may not
    be logged on to. (Exception from HRESULT: 0x80070775)
       at Microsoft.ReportingServices.WebServer.ReportingService2005Impl.GetReportParameters(String Report, String HistoryID, Boolean ForRendering, ParameterValue[] Values, DataSourceCredentials[] Credentials, ReportParameter[]& Parameters)
       at Microsoft.ReportingServices.WebServer.ReportingService2005.GetReportParameters(String Report, String HistoryID, Boolean ForRendering, ParameterValue[] Values, DataSourceCredentials[] Credentials, ReportParameter[]& Parameters)
    Stack Trace:
       at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ParameterPresenter.GetParameters()
       at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ParameterPresenter.LoadParameters(IReport report, Collection`1 navigationParameters, IResultObject resultObject)
       at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerPresenter.Worker_DoWork(Object sender, DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

    HI,
    Check the SQL Reporting services account that is used, the one that you supplied when setting up the SQL Reporting Services point in the Configuration Manager 2012 console, it seems to be locked out.
    I believe it has been asked once before on the forums as well.
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Temp-Contract Worker User Profile Synchronization in SharePoint 2013

    Hi All,
    I was wondering if anyone could provide some feedback on what is the best practice for configuring Temp or Contract worker user profile services in SharePoint 2013. We have had lot of issues within MySites when we make these types of workers AD account inactive
    and then active again when they come back on projects. The user profile synchronization does not work correctly and MySites has issues loading the profile etc. Also in the same context are there best practices for Name/Title/Department changes as well. 
    thank you for your feedback!
    AJ
    Ajay Mandal

    Given what you describe I assume you've created a user profile Sync connection filter to remove disabled AD accounts from the user profile sync.  That's why you are running into problems.  When a user is missing from the import their profile is
    deleted within an hour or so, but their MySite isn't deleted for 14 days (to allow time for a manager to clean it off).  If the user is reactivated within the 14 day period their old mySite is still there, but is no longer referenced by the new profile
    that is created.  So When the user goes to their profile it tries to create a new mySite where one already exists.  It can't do that.
    The same thing will happen if you delete the contractor's user account, but then recreate them in AD when they return.  The only way to fix it is to make sure both the profile and mySite site collection in /Personal/ have been deleted before re-adding
    an old contractor.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Reorder User Profile properties in SharePoint 2013.

    Hi, I have created custom user profile properties in SharePoint 2013 under User Profile Service Application, now I want to change the order of properties as well as also want to move OOTB properties and custom properties from one section to another section.
    Is there any Power Shell command available to move properties between sections?
    Regards,    

    Hi Prakash,
    Use the script in this blog to retrive user profile properties from a certain section.
    http://stevemannspath.blogspot.in/2013/05/sharepoint-20102013-using-powershell-to.html
    # Dynamic Settings
    $mySiteUrl = "http://mysite.company.net"
    $findProperty = "PictureUrl"
    Next, we needed to establish the server context:
    # Obtain Context based on site
    $mySiteHostSite = Get-SPSite $mySiteUrl
    $mySiteHostWeb = $mySiteHostSite.OpenWeb()
    $context = Get-SPServiceContext $mySiteHostSite
    From the context we can instantiate a ProfileManager object and retrieve all of the SharePoint User Profiles:
    # Obtain Profiles from the Profile Manager
    $profileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context)
    $AllProfiles = $profileManager.GetEnumerator()
    $outputCollection = @()
    Next, we loop through the profiles and retrieve the account name (for identification purposes) and the property we are interested in finding:
    # Loop through profiles and retrieve the desired property
    foreach ($profile in $AllProfiles)
    $output = New-Object System.Object
    $output | Add-Member -type NoteProperty -Name AccountName -Value $profile["AccountName"].ToString()
    $output | Add-Member -type NoteProperty -Name $findProperty -Value $profile[$findProperty]
    $outputCollection += $output
    Finally, we list out the collection items that do not have a value for the property (ie. null):
    # List all Accounts that do not contain the property
    $outputCollection | Where-Object {[bool]$_.($findProperty) -ne $true}
    FULL SCRIPT
    # Dynamic Settings
    $mySiteUrl = "http://mysite.company.net"
    $findProperty = "PictureUrl"
    Write-Host "Beginning Processing--`n"
    # Obtain Context based on site
    $mySiteHostSite = Get-SPSite $mySiteUrl
    $mySiteHostWeb = $mySiteHostSite.OpenWeb()
    $context = Get-SPServiceContext $mySiteHostSite
    # Obtain Profiles from the Profile Manager
    $profileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context)
    $AllProfiles = $profileManager.GetEnumerator()
    $outputCollection = @()
    # Loop through profiles and retrieve the desired property
    foreach ($profile in $AllProfiles)
    $output = New-Object System.Object
    $output | Add-Member -type NoteProperty -Name AccountName -Value $profile["AccountName"].ToString()
    $output | Add-Member -type NoteProperty -Name $findProperty -Value $profile[$findProperty]
    $outputCollection += $output
    # List all Accounts that do not contain the property
    $outputCollection | Where-Object {[bool]$_.($findProperty) -ne $true}
    In this blog, we can refer the script to create new section and new properties to this section.
    http://sergioblogs.blog.co.uk/2013/01/08/powershellscript-to-add-new-user-profile-properties-from-the-term-store-15407371/
    # PowerShell Script to Add New User Profile Properties from the Term Store
    # Get parameters
    $mySiteWebApp = Read-Host "Please enter the MySite Web Application URL"
    $termStoreSrvApp = Read-Host "Please enter the Term Store Service Application name"
    # Add SharePoint DLLs
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Sharepoint.Administration")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Sharepoint.Taxonomy")
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server")
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server.UserProfiles")
    # Get site collection for MySite
    #$sitecollection = Get-SPSite | Where-Object {$_.Url -eq "http://yourMySiteHostURL"}
    $sitecollection = Get-SPSite | Where-Object {$_.Url -eq $mySiteWebApp}
    if($sitecollection -ne $null) {
    # Get the taxonomy session
    $taxSession = Get-SPTaxonomySession -site $sitecollection
    # Get the term store - you will need to amend the value for the correct name of your MMS Name
    #$termStore = $taxSession.TermStores["Managed Metadata Service"]
    $termStore = $taxSession.TermStores[$termStoreSrvApp]
    if($termStore -ne $null) {
    # Get the term store group for Swisslo
    $termStoreGroup = $termStore.Groups["Name of Term Store"]
    # Get the term sets - Preset with examples for terms (Customer, Function, IndustrySegment, Language, Location, Organization), amend as required
    $termSetCustomer = $termStoreGroup.TermSets["Customer"]
    $termSetFunction = $termStoreGroup.TermSets["Function"]
    $termSetIndustrySegment = $termStoreGroup.TermSets["Industry Segment"]
    $termSetLanguage = $termStoreGroup.TermSets["Language"]
    $termSetLocation = $termStoreGroup.TermSets["Location"]
    $termSetOrganization = $termStoreGroup.TermSets["Organization"]
    # Get the user profile app - change UPS Name as required
    $serviceApplication = Get-SPServiceApplication | ?{$_.TypeName -eq "User Profile Service Application"}
    $serviceContext = [Microsoft.SharePoint.SPServiceContext]::GetContext($serviceApplication.ServiceApplicationProxyGroup, [Microsoft.SharePoint.SPSiteSubscriptionIdentifier]::Default)
    $userProfileConfigManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileConfigManager $serviceContext
    $userProfilePropertyManager = $userProfileConfigManager.ProfilePropertyManager
    $userProfileTypeProperties = $userProfilePropertyManager.GetProfileTypeProperties([Microsoft.Office.Server.UserProfiles.ProfileType]::User)
    $userProfileSubTypeManager = [Microsoft.Office.Server.UserProfiles.ProfileSubTypeManager]::Get($serviceContext)
    $userProfile = $userProfileSubTypeManager.GetProfileSubtype([Microsoft.Office.Server.UserProfiles.ProfileSubtypeManager]::GetDefaultProfileName([Microsoft.Office.Server.UserProfiles.ProfileType]::User))
    $userProfileProperties = $userProfile.Properties
    $ps = $userProfileSubTypeManager.GetProfileSubtype([Microsoft.Office.Server.UserProfiles.ProfileSubtypeManager]::GetDefaultProfileName([Microsoft.Office.Server.UserProfiles.ProfileType]::User))
    $pspm = $ps.Properties
    #Create new section in User Profiles - set the 'Name of the Section' throughout next chunk of code
    Write-Host "Creating new section for 'Name of Section'...."
    $allEntries = $userProfileConfigManager.GetPropertiesWithSection();
    $sectionExists =$false
    foreach ($temp in $allEntries) {
    if($temp.Name -eq "Name of Section") {
    Write-Host "Section for 'Name of Section' already exists.";
    $sectionExists = $true;
    $section = $temp
    if ($sectionExists -ne $true){
    $section = $allEntries.Create($true);
    $section.Name = "Name of Section";
    $section.ChoiceType = [Microsoft.Office.Server.UserProfiles.ChoiceTypes]::Off;
    $section.DisplayName = "Name of Section"
    $section.Commit();
    Write-Host "Section 'Name of Section' created"
    Write-Host "Creating new properties...."
    $Privacy = "public"
    $PrivacyPolicy = "OptIn"
    $coreProperties = $userProfilePropertyManager.GetCoreProperties()
    # Setting Custom Properties below, amend names as you did above to match your fields
    # Set new Custom Property for "Customer"
    $PropertyName = "SLCustomer"
    $PropertyDisplayName = "Customer"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetCustomer
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Function"
    $PropertyName = "SLFunction"
    $PropertyDisplayName = "Function"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetFunction
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Industry Segment"
    $PropertyName = "SLIndustrySegment"
    $PropertyDisplayName = "Industry Segment"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetIndustrySegment
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Language"
    $PropertyName = "SLLanguage"
    $PropertyDisplayName = "Language"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetLanguage
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Location"
    $PropertyName = "SLLocation"
    $PropertyDisplayName = "Location"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetLocation
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Organization"
    $PropertyName = "SLOrganization"
    $PropertyDisplayName = "Organization"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetOrganization
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    Write-Host "Completed"
    } else {
    #Termstore not found
    Write-Host "Unable to connect to term store"
    } else {
    Write-Host "Unable to connect to MySite Web Application"
    Need more effort to change this code to work for your requirement.
    Thanks & Regards,
    Emir
    Emir Liu
    TechNet Community Support

  • User Profiles properties in SharePoint 2013

    Hello Everyone,
    Can we set User Profiles properties in SharePoint 2013 ? 

    Most of them, yes. What are you specifically looking to do?
    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.

  • W7: User Profile Service service failed at log on: Apparently W7 is no longer creating any user profile data other than username and picture.

    First time poster, but I think I've done my homework on this issue.
    This issue has similar symptoms to a problem with vista: http://www.vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html
    However, it is definitely not the same issue (see further).
    Current Config:
    HP dv7-1450.
    W7 RC 7100 x64
    Last update (up to date as of 8/31/09) installed succesfully 8/26/09 and should be unrelated to this issue (not verified yet by a pre-update restore).
    Running with Admin account while diagnosing/troubleshooting.
    Currently have two working accounts, one standard, one admin.
    Symptom:
    New user accounts cannot be logged into.  On an attempted login to the new account, the following information is displayed on the login screen:  "The User Profile Service service failed the logon.  User profile cannot be loaded."  Windows then logs off the operator and returns to the initial user selection screen.  All other aspects of use are normal.
    Current Diagnostics:
    First attempts to resolve this problem were to recreate the new account.  This was attempted when logged in as both Standard and Admin.  This was also attempted under safe mode.  This has been attempted with virus protection disabled.  All to no difference in the symptom.
    The similarity to the Vista issue (linked above) caused me to check the registry entry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ for the new profile (as suggested by that link).  Unlike that issue, there simply is no entry for the new user.  Examination of the new log entries from creation of account to attempted log in provides the following entries:
    Level Date and Time Source Event ID Task Category
    Information 8/31/2009 12:34:31 PM Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    Warning 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6001 None The winlogon notification subscriber <Profiles> failed a notification event.
    Information 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    Warning 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6001 None The winlogon notification subscriber <Sens> failed a notification event.
    Error 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles Service 1500 None "Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, and that your network is functioning correctly.
    DETAIL - Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
    Warning 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles General 1509 None "Windows cannot copy file C:\Users\Default\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm to location C:\Users\TEMP\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm. This error may be caused by network problems or insufficient security rights.
    DETAIL - Access is denied.
    Error 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles Service 1511 None Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.
    Warning 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles General 1509 None "Windows cannot copy file C:\Users\Default\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm to location C:\Users\{New Username}\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm. This error may be caused by network problems or insufficient security rights.
    DETAIL - Access is denied.
    Naturally I started with the earliest error first, and decided to look to see what is going on.  The file that is trying to be copied is there, but the destination folder does not exist.  As near as I can tell, whatever process (the User Profiles General Service?) is trying to perform the copy does not have sufficient access to perform the operation.  Specifically I suspect it may not be able to create the appropriate folders before performing the copy.  Interestingly, it appears that when windows attempts to open/create a temporary account profile, the same issue occurs.  Since there is no registry entry either, I suspect that the issue also extends to the creation of registry keys, but I am not familiar enough with the sequence of events in the creation of a user profile to determine if this would come before or after a user profile's first login.
    I attempted to find more information, and was able to investigate the UPS diagnostic event log (for a different, but identical attempt at creating and using the new profile).  The following two (unhelpful to me) log entries were generated.
    Level Date and Time Source Event ID Task Category
    Information 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles Service 1002 (1001) "The description for Event ID 1002 from source Microsoft-Windows-User Profiles Service cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    The message id for the desired message could not be found
    Information 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles Service 1001 (1001) "The description for Event ID 1001 from source Microsoft-Windows-User Profiles Service cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    It seems to imply that the User Profiles Service may be corrupted, but this may also be unrelated.  I do not know how to specifically repair this service anyway (but am open to try it if someone can walk me through it a bit).
    There's the info.  I'd like to figure out how to watch the account creation process in more detail to see if I gleen more, but I don't have the experience to know what to do to enable such a log.  I will not perform a reinstall and am loath to do a restore, instead looking more for a cause and effect repair: something that would actually help MS fix the problem rather than have the customer fix the symptom.
    Thanks in advance to responders!

    First time poster, but I think I've done my homework on this issue.
    This issue has similar symptoms to a problem with vista: http://www.vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html
    However, it is definitely not the same issue (see further).
    Current Config:
    HP dv7-1450.
    W7 RC 7100 x64
    Last update (up to date as of 8/31/09) installed succesfully 8/26/09 and should be unrelated to this issue (not verified yet by a pre-update restore).
    Running with Admin account while diagnosing/troubleshooting.
    Currently have two working accounts, one standard, one admin.
    Symptom:
    New user accounts cannot be logged into.  On an attempted login to the new account, the following information is displayed on the login screen:  "The User Profile Service service failed the logon.  User profile cannot be loaded."  Windows then logs off the operator and returns to the initial user selection screen.  All other aspects of use are normal.
    Current Diagnostics:
    First attempts to resolve this problem were to recreate the new account.  This was attempted when logged in as both Standard and Admin.  This was also attempted under safe mode.  This has been attempted with virus protection disabled.  All to no difference in the symptom.
    The similarity to the Vista issue (linked above) caused me to check the registry entry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ for the new profile (as suggested by that link).  Unlike that issue, there simply is no entry for the new user.  Examination of the new log entries from creation of account to attempted log in provides the following entries:
    Level Date and Time Source Event ID Task Category
    Information 8/31/2009 12:34:31 PM Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    Warning 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6001 None The winlogon notification subscriber <Profiles> failed a notification event.
    Information 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    Warning 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6001 None The winlogon notification subscriber <Sens> failed a notification event.
    Error 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles Service 1500 None "Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, and that your network is functioning correctly.
    DETAIL - Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
    Warning 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles General 1509 None "Windows cannot copy file C:\Users\Default\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm to location C:\Users\TEMP\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm. This error may be caused by network problems or insufficient security rights.
    DETAIL - Access is denied.
    Error 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles Service 1511 None Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.
    Warning 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles General 1509 None "Windows cannot copy file C:\Users\Default\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm to location C:\Users\{New Username}\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm. This error may be caused by network problems or insufficient security rights.
    DETAIL - Access is denied.
    Naturally I started with the earliest error first, and decided to look to see what is going on.  The file that is trying to be copied is there, but the destination folder does not exist.  As near as I can tell, whatever process (the User Profiles General Service?) is trying to perform the copy does not have sufficient access to perform the operation.  Specifically I suspect it may not be able to create the appropriate folders before performing the copy.  Interestingly, it appears that when windows attempts to open/create a temporary account profile, the same issue occurs.  Since there is no registry entry either, I suspect that the issue also extends to the creation of registry keys, but I am not familiar enough with the sequence of events in the creation of a user profile to determine if this would come before or after a user profile's first login.
    I attempted to find more information, and was able to investigate the UPS diagnostic event log (for a different, but identical attempt at creating and using the new profile).  The following two (unhelpful to me) log entries were generated.
    Level Date and Time Source Event ID Task Category
    Information 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles Service 1002 (1001) "The description for Event ID 1002 from source Microsoft-Windows-User Profiles Service cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    The message id for the desired message could not be found
    Information 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles Service 1001 (1001) "The description for Event ID 1001 from source Microsoft-Windows-User Profiles Service cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    It seems to imply that the User Profiles Service may be corrupted, but this may also be unrelated.  I do not know how to specifically repair this service anyway (but am open to try it if someone can walk me through it a bit).
    There's the info.  I'd like to figure out how to watch the account creation process in more detail to see if I gleen more, but I don't have the experience to know what to do to enable such a log.  I will not perform a reinstall and am loath to do a restore, instead looking more for a cause and effect repair: something that would actually help MS fix the problem rather than have the customer fix the symptom.
    Thanks in advance to responders!
    To resolve this issue, I suggst you delete the file C:\Users\Default\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm.Arthur Xie - MSFT

  • In LSMW flat file date format to be converted to user profile date setting.

    hi all,
      i got a flat file in which date is in mm/dd/yyyy format.i converted the data using lsmw but this conversion is valid only if user has set his date profile as mm/dd/yyyy in his user profile setting->own data. now if user has some other setting then it will give error. so how to convert date and how to do mapping with same . please help.

    Sunil,
    use below fm to get current user date format:
    data: idate TYPE sy-datum,
              tdat8 type string.
    CALL FUNCTION 'DATUMSAUFBEREITUNG'
         EXPORTING
           IDATE                 = idate
         IMPORTING
            TDAT8                 = tdat8.
    Amit.

Maybe you are looking for

  • Trouble launching a custom HTML5 UI in Photoshop CC

    Problem: I am trying to get Photoshop CC to launch custom built HTML5 UI's.  In doing so I have hit a few roadblocks: Roadblocks: • The documentation online to install and launch HTML5 UI's from scratch is out-of-date: http://www.adobe.com/devnet/cre

  • How to find a jar file a class is in

    Given a class file, I would like to find out in which jar file it exists.

  • External hard drive not visible on macbook

    Hi all I am brand new to the mac from windows, so far so good! However I have an external hard drive that I want to plug into my mac and back up onto. Problem is when I connect it it is not "seen" in the finder window. The drive is presently formatte

  • Languages and charset

    Hello, I know that <meta charset="UTF-8"> will suffice for most common languages, but what about when mixing two languages on the very same webpage? I will have one webpage that will be predominantly Arabic with some English words, or can UTF-8 under

  • FileDB Folder Query

    Hello Experts, I have a query about the folder  FileDB located inside the BPC Directory, I'm not sure what's for, and I hope someone can help me to understand the function of this folder. This is the location: BPC/DATA/FileDB Regards, Rodrigo