User profile based synchronisation
hii,
i wanted to know that if suppose the business scenario is like this that if there are many technicains logging to their mobile devices and each technician is having different sets of location and different set of data . I wanted to know that what can be done to make the "synchronisation user profile based" means if suppose one technician logged in to their mobile device through his id then it should automatically get all the data relevant to his working location on first logon.
Hi Devendrakumar,
<b><<< If the MI client user is the standard user in the MI server >>></b>
If the MI client user is the standard user in the MI server , u can make use of the ME-SYNC_USER. During synchronization , if you use this ME-SYNC_USER in your BAPI Wrapper , then u will get the current user. Use this user as the filter for ur records in the ABAP code of the BAPI wrapper itself.
refer this forum also..
Re: Assign filter by user
The same functionality u can achieve in another way...
during syncbo creation ,
in the case of getlist function module ,
add one more import parameter .(suppose username is the import parameter),
in the import tab , against this fieldname(username) , create one value id. after the creation of this syncbo, you will have to set default value for this value id that u have created.
here u will have to set SY-UNAME as default value.
at the time of synchronization , this import parameter value contains the user from which u have started synchronization. (this value u can use as filter in the abap code).
During Sync this SY-UNAME will be filled with the synced user...
<b><<If u have one MI server user and u have multiple client users. I meant , in the MI client , u have one standard user which is also a user in the MI server . u want agian to filter the data based on the users which are only availabe in the client device>></b>
We have already discussed a scenario like this in this forum .carefully go through this forum ...
Re: MI 2.5 sync:Possible to have one sync-user for 3 or 4 device?
Regards
Kishor Gopinathan
Similar Messages
-
I have Disabled the MysiteCleanup timer Job and disabled few user profile accounts in AD. Then in SharePoint user profile service, ran the User profile full synchronise job.
I am able to find the marked for deletion records from the table (UserProfile_Full) in SQL server and also in the Manage User profile menu of the central admin under "Profile missing from import"
view. But am not getting these records, If I execute the below powershell command.
$upa = Get-spserviceapplication -name 'User Profile Service Application'
Set-SPProfileServiceApplication $upa -GetNonImportedObjects $true
This command shows only the system account and not the accounts, which are marked for deletion .
Please suggest how to get this result.
Thanks & Regards,
YogaWhat result do you get hen use use type below in powershell
$upa -
"%userprofile%\appdata\local" is counted in the users profile
Hello,
In our environment we see some strange behavior on laptops. Users report that their user profile is becoming too large. We use the user Profile Management tool from Microsoft.(Limit profiles size - proquota.exe @ 100mb)
So “%userprofile%\appdata\local” is counted in the users profile.
After that userprofiles are inconsistant. Users log's on with a TEMP profile or cannot logon anymore.
This seems just a symptom of a underlying problem. We can solve it by giving the user a new userprofile. But we have seen this problem too frequently now.
How is it possible that de default variables %LOCALAPPDATA% en %APPDATA% suddenly are missing. The day before the user has no problem. It mostly happens on laptops after a VPN or WIFI connection. It looks like if the connection is lost before the local user
profile is synchronised to the server profile.
We also see Event 1530 frequently. Can this be a clue?
Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.
## user registry handles leaked from \Registry\User\S-1###
Is the missing of these variables the cause or effect of a corrupt user profile?
Should we think of leaving roaming profiles for laptops? And look to UE-V or another solution?
Giving the user a new user profile is a workarround but not a solution.
We are using:
We use Windows 7 x86, latest patches, Office 2010.
A Windows 2003 domain functional level
We have an OU in AD wich contains the users and computer in subfolders.
We use Loopback processing for Group policy so the user policy is linked to the client OU and not to the user OU.
We user folder redirection to the homeshare (DFS namespace)
User profiles are on a DFSnamespace but single server.
We user Offline files for the Homeschare.
Regards,
PeterHi Laarse,
Thanks for the reply.
Please try enable “Do not forcefully unload the users registry at user logoff”
policy to check if it works. The Category path is
Computer Configuration\Administrative Templates\System\user Profiles\
After that, if the issue still exist, please collect below information for further research.
Information Collection
===============
1. Enable gpsvc debug logging by below steps:
In the Regedit Editor, expand HKLM\Software\Microsoft\Window NT\CurrentVersion
Create a new key called “Diagnostics”
Under the key, create a DWORD value “GPSvcDebugLevel” and set the value as
0x30002.
After making this change, restart the computer.
When the issue happens again, please send me the gpsvc.txt under %systemroot%\debug\UserMode folder.
Please let me know the time you experience this issue.
2. Please help run
gpresult /h c:\gpresult.html command on a problematic client, and send me the
gpresult.html file.
3. Please help collect profile trace on a problematic client by below steps:
Logon to a client with local administrator account.
Open a command prompt with ELEVATED.
Run "logman -start profile -p {eb7428f5-ab1f-4322-a4cc-1f1a9b2c5e98} 255 3 -ets" (without the quotes, if we face error, please do not use copy, manually input this
command)
Switch user (do not log off the administrator account) and try to logon with the problematic user to reproduce the symptom.
After you login, please logoff the domain user and back to local administrator account.
Run command
"logman -stop profile -ets" with administrator privilege.
Then send me the profile.etl under
%SystemRoot%\Debug\UserMode folder
Thanks. -
Claims Based Authentication and Editing User Profiles
Hi All,
I have an interesting issue where I have a SharePoint Farm setup with both the intranet and mysites web applications setup using Claims Based Authentication. While everything seems to work fine, you are able to search for users, view properties and users
can change their own profile properties. However when you configure a profile administration account (an account with the "manage user profiles" permission on the User Profile Service Application) and you attempt to use that account to edit
another users profile you get hit with a generic error page.
Delving deeper you get the following errors:
ULS:
Date Process Thread Id Area Category Event Id Level Correlation Message
5/7/2013 00:31:44:64 App Pool: MySites 0x1DC8 SharePoint Foundation Logging Correlation Data xmnv Medium 4001199c-6bd8-c03d-920f-55177fbff00c
Name=Request (GET:http://mysite.DOMAIN.loc:80/_layouts/15/EditProfile.aspx?UserSettingsProvider=234bf0ed%2D70db%2D4158%2Da332%2D4dfd683b4148&ReturnUrl=http%3A%2F%2Fmysite%2EDOMAIN%2Eloc%2Fperson%2Easpx%3Faccountname%3DDOMAIN%255CAUSER&accountname=DOMAIN%5CAUSER)
5/7/2013 00:31:44:66 App Pool: MySites 0x1DC8 SharePoint Foundation Authentication Authorization agb9s Medium 4001199c-6bd8-c03d-920f-55177fbff00c
Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|DOMAIN\sp_config, ClaimsCount=24
5/7/2013 00:31:44:66 App Pool: MySites 0x1DC8 SharePoint Foundation Logging Correlation Data xmnv Medium 4001199c-6bd8-c03d-920f-55177fbff00c
Site=/
5/7/2013 00:31:44:69 App Pool: MySites 0x1DC8 SharePoint Foundation Files 00000 High 4001199c-6bd8-c03d-920f-55177fbff00c
UserAgent not available, file operations may not be optimized.
at Microsoft.SharePoint.SPFileStreamManager.CreateCobaltStreamContainer(SPFileStreamStore spfs, ILockBytes ilb, Boolean copyOnFirstWrite, Boolean disposeIlb)
at Microsoft.SharePoint.SPFileStreamManager.SetInputLockBytes(SPFileInfo& fileInfo, SqlSession session, PrefetchResult prefetchResult)
at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocumentRowset(Guid databaseId, SqlSession session, SPFileStreamManager spfstm, Object[] metadataRow, SPRowset contentRowset, SPDocumentBindRequest& dbreq, SPDocumentBindResults&
dbres)
at Microsoft.SharePoint.SPSqlClient.GetDocumentContentRow(Int32 rowOrd, Object ospFileStmMgr, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres)
at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages,
Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String&
pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64&
pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder,
Guid& pgDocScopeId)
at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages,
Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String&
pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64&
pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder,
Guid& pgDocScopeId)
at Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean&
pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified,
String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean&
pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid&
pgDocScopeId)
at Microsoft.SharePoint.SPWeb.GetWebPartPageContent(Uri pageUrl, Int32 pageVersion, PageView requestedView, HttpContext context, Boolean forRender, Boolean includeHidden, Boolean mainFileRequest, Boolean fetchDependencyInformation, Boolean& ghostedPage,
String& siteRoot, Guid& siteId, Int64& bytes, Guid& docId, UInt32& docVersion, String& timeLastModified, Byte& level, Object& buildDependencySetData, UInt32& dependencyCount, Object& buildDependencies, SPWebPartCollectionInitialState&
initialState, Object& oMultipleMeetingDoclibRootFolders, String& redirectUrl, Boolean& ObjectIsList, Guid& listId)
at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.FetchWebPartPageInformationForInit(HttpContext context, SPWeb spweb, Boolean mainFileRequest, String path, Boolean impersonate, Boolean& isAppWeb, Boolean& fGhostedPage, Guid& docId,
UInt32& docVersion, String& timeLastModified, SPFileLevel& spLevel, String& masterPageUrl, String& customMasterPageUrl, String& webUrl, String& siteUrl, Guid& siteId, Object& buildDependencySetData, SPWebPartCollectionInitialState&
initialState, String& siteRoot, String& redirectUrl, Object& oMultipleMeetingDoclibRootFolders, Boolean& objectIsList, Guid& listId, Int64& bytes)
at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetWebPartPageData(HttpContext context, String path, Boolean throwIfFileNotFound)
at Microsoft.SharePoint.ApplicationRuntime.SPVirtualPathProvider.GetCacheKey(String virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)
at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)
at System.Web.UI.Page.ApplyMasterPage()
at System.Web.UI.Page.PerformPreInit()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
5/7/2013 00:31:44:69 App Pool: MySites 0x1DC8 SharePoint Foundation Files aiv4w Medium 4001199c-6bd8-c03d-920f-55177fbff00c
Spent 0 ms to bind 33542 byte file stream
5/7/2013 00:31:44:72 App Pool: MySites 0x1DC8 SharePoint Portal Server User Profiles ai7z6 High 4001199c-6bd8-c03d-920f-55177fbff00c
User was not successfully retrieved: i:0#.w|DOMAIN\AUSER in ProfileUI.OnInit. Seeing if this is a system account
5/7/2013 00:31:44:72 App Pool: MySites 0x1DC8 SharePoint Portal Server User Profiles ai7z7 High 4001199c-6bd8-c03d-920f-55177fbff00c
User i:0#.w|DOMAIN\AUSER not found and not a system account.
5/7/2013 00:31:44:72 App Pool: MySites 0x1DC8 SharePoint Portal Server User Profiles ahn7m Unexpected 4001199c-6bd8-c03d-920f-55177fbff00c
ProfileUI: Unhandled exception inside OnInit: Microsoft.Office.Server.UserProfiles.UserNotFoundException: DOMAIN\AUSER
at Microsoft.SharePoint.Portal.WebControls.ProfileUI.OnInit(EventArgs e)
5/7/2013 00:31:44:72 App Pool: MySites 0x1DC8 SharePoint Portal Server User Profiles ahn7h Unexpected 4001199c-6bd8-c03d-920f-55177fbff00c
ProfileEditor: Unhandled exception inside OnInit: Microsoft.Office.Server.UserProfiles.UserNotFoundException: DOMAIN\AUSER
at Microsoft.SharePoint.Portal.WebControls.ProfileUI.OnInit(EventArgs e)
at Microsoft.SharePoint.Portal.WebControls.ProfileEditor.OnInit(EventArgs e)
5/7/2013 00:31:44:72 App Pool: MySites 0x1DC8 SharePoint Foundation General 8nca Medium 4001199c-6bd8-c03d-920f-55177fbff00c
Application error when access /_layouts/15/EditProfile.aspx, Error=DOMAIN\AUSER
at Microsoft.SharePoint.Portal.WebControls.ProfileUI.OnInit(EventArgs e)
at Microsoft.SharePoint.Portal.WebControls.ProfileEditor.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
5/7/2013 00:31:44:72 App Pool: MySites 0x1DC8 SharePoint Foundation Runtime tkau Unexpected 4001199c-6bd8-c03d-920f-55177fbff00c
Microsoft.Office.Server.UserProfiles.UserNotFoundException: DOMAIN\AUSER
at Microsoft.SharePoint.Portal.WebControls.ProfileUI.OnInit(EventArgs e)
at Microsoft.SharePoint.Portal.WebControls.ProfileEditor.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
5/7/2013 00:31:44:72 App Pool: MySites 0x1DC8 SharePoint Foundation General ajlz0 High 4001199c-6bd8-c03d-920f-55177fbff00c
Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Office.Server.UserProfiles.UserNotFoundException: DOMAIN\AUSER
at Microsoft.SharePoint.Portal.WebControls.ProfileUI.OnInit(EventArgs e)
at Microsoft.SharePoint.Portal.WebControls.ProfileEditor.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
5/7/2013 00:31:44:72 App Pool: MySites 0x1DC8 SharePoint Foundation General aat87 Monitorable 4001199c-6bd8-c03d-920f-55177fbff00c
5/7/2013 00:31:44:73 App Pool: MySites 0x1DC8 SharePoint Foundation Monitoring b4ly Medium 4001199c-6bd8-c03d-920f-55177fbff00c
Leaving Monitored Scope (Request (GET:http://mysite.DOMAIN.loc:80/_layouts/15/EditProfile.aspx?UserSettingsProvider=234bf0ed%2D70db%2D4158%2Da332%2D4dfd683b4148&ReturnUrl=http%3A%2F%2Fmysite%2EDOMAIN%2Eloc%2Fperson%2Easpx%3Faccountname%3DDOMAIN%255CAUSER&accountname=DOMAIN%5CAUSER)).
Execution Time=87.1739285300227
It seems similar to an issue in the blog post here: http://kb4sp.wordpress.com/2012/12/05/user-cannot-be-found-shenanigans-one-way-active-directory-trusts-and-sharepoint-2013/ however I tried what was suggested and it didn't work.
Any help with this is appriciated.This line offers clues about the actual problem:
Microsoft.Office.Server.UserProfiles.UserNotFoundException: DOMAIN\AUSER
According to the MSDN link (http://msdn.microsoft.com/en-us/library/microsoft.office.server.userprofiles.usernotfoundexception.aspx)
it is not able to find the user in the profile store. Additionally the link you mentioned (http://kb4sp.wordpress.com/2012/12/05/user-cannot-be-found-shenanigans-one-way-active-directory-trusts-and-sharepoint-2013)
suggests that the account being used to validate accounts on the production domain may have a problem.
If there a way you can test that account in isolation against the DC?
With Regards Shailen Sukul Entrepreneur/Software Architect/Developer/Consultant/Trainer (BSc | Mct | Mcpd (.Net 2/3.5/SharePoint2010) | Mcts (Sharepoint 2010/MOSS/WSS), Biztalk, Web, Win, Dist Apps) | Mcitp(SharePoint) | Mcsd.NET | Mcsd | Mcad) MSN | Skype
| GTalk Id: shailensukul Twitter: http://twitter.com/shailensukul Website: http://sukul.org Blog: http://shailen.sukul.org/ http://www.linkedin.com/in/shailensukul -
Report based on the user profile
Hi,
i'm trying to create a report with Oracle Report6i based on the user profile.
I created a form with many Lovs, so that i can choose the parameter to send to the report (using a java script).
I also would like to send the user that's currently logged in, just in order to filter the output.
How can i use the api wwctx_api.get_user in the java script ?
Thanks.Hi,
It is not possible to use the api directly in javascript. Maybe you pass it as a parameter to a javascript function.
Thanks,
Sharmila -
To get plant field in my selection screen based on user profile maintained
Hi All,
I have plant (WERKS) field in my selection screen. Now I need to get the plant value maintained in the user profile for that user. So how to get the plant value based on the user profile.
Please let me know if anyone having idea on this. I will reward to you with the valid points.
Regards
raghu.Hi Raghu,
I have searched and found this information, check it may help you
Check the SY-UNAME with the the name of the Plant
User Plant user data take it from T001W table
and All logon User data will be in USR02 table
take the data from corresponding tables and check.
If you are working in SRM
Use FM BBP_READ_ATTRIBUTES to get the User plant after passing the User ID to the FM.
in SUIM go to Users by Complex Selection criterion.
In that there would be the Authorization Object..select an object which has the value plant in it and enter the value inthat....
Also u can enter WERKS value as 1120 in the object field and get the list,
Regards,
Satish -
Acrobat Reader X with MAC Server based User Profiles
Hello Forum,
I'm a bit in trouble with Acrobat Reader X (10.0.0.3) on my Mac. We are using server based user profiles for the whole network. (SL Sever and SL Clients 10.6.7)
Installing the Reader X has finished successfully. If I'm starting my Reader, a requester is popping up, asking me if Acrobat should be the default application for PDF files or not. Pushing any button causes the application to terminate after some seconds.
Due it's working with a local profile without any errors I think the problem is the server based user profile.
Any ideas how to solve this problem? Switching to local profiles is not possible ...
Best Regards,
MarkusHi Michael,
sorry for using the wrong forum. I'll post my question to the Reader board ...
To answer your question. That was my idea too, but it is not possible to copy a whole profile. They are a lot of other problems if you do that. I didn't find the settings only. may it would be enough to copy the settings for the reader.
Best Regards,
Markus -
Reading term based user profile attributes
Hi there,
I configured a user profile attribute that is based on a term set. Now, when I read out the value from JSOM or REST I only get the string value. I really want to retrieve the GUID of the stored term, in order to read out additional data from the term store,
like the parent term, custom properties, etc.
So, the question boils down to: How do I read out the term's GUID from the stored term in the user profile attribute?
[EDIT]
I also tried out the server-side API. Unfortunately, this returns the stored term as a string as well.Hi,
Would you mind providing more details about what user profile attribute you are using and how you add value to it?
You said that you can only get the string value, so you might use a string type of property.
Here is a documentation about
Default user profile properties:
http://technet.microsoft.com/en-us/library/hh147513(v=office.14).aspx
I suggest you log the response JSON out to the console of the browser(console.log()) to see if there is a term’s GUID attribute.
Feel free to reply with the test result if there are still any questions.
Thanks
Patrick Liang
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]
Patrick Liang
TechNet Community Support -
Move Users from one OU to other on AD based on the OIM user profile attrs
Hi All
I am currently pre-populating AD User OU attribute based on the OIM User profile Location attribute. This is working as expected.
Now when the location changes, I wanted to move the user from the current OU to a different one based on the location provided. Here I am kind of stuck.
I think I can use access policies / User triggers to get this done, but is there any other approach / additional configuration for pre-populate.
Are pre-populate only for the first time User Provisioning?
Regards
user12841694Hi Martin
For the above requirement we have used lookups and could accomplish the task.
However, I need a minor clarification here.
I have OU dependent on Location Code & I also have Users Home Directory[on AD process form] dependent on Location Code.
How should I use the User triggers to trigger both Change HomeDir and Change OU process tasks on AD User?
I will create a dummy task with name "*Trigger Location Dependents*" and always return a "TRUE" response in the integrated adapter.
Now upon true I will generate Change HomeDir & Change OU process tasks.
I will provide Trigger Location Dependents name aganist USR_UDF_LOCATION code in the triggers lookup.
Should this work or do u have any suggestion..Please
Regards
user12841694
Edited by: user12841694 on Dec 23, 2010 6:59 AM -
User profiles with multiple login accounts in SharePoint 2010
Hello,
Consider the following scenario:
We have Active Directory that is accessible inside our network. Except the sites, accessible from the corporate network, we are exposing SharePoint sites from the same farm on the internet, using claims based authentication with ADFS 2.0 using the same
AD instance as in the intranet.
The problems is that the claims based accounts are not linked to the profiles, that are created for the users by the User Profiles Synchronisation service.
Is there a way to configure the user profiles so if our users are signing in from internet, to access the same profiles that they have, when accessing the SharePoint sites from intranet?
(I've searched a lot, I didn't find excat solution. I've found something related to SPCLaims properties and had confugred them to sync with the AD using the "claims" trusted connection, but the problem remains.)
This is simmilar to allow our users to login using their Facebook, Google, OpenID identity or the identity in our AD. How can this be done?SharePoint user profiles are not populated automatically when using claims-based authentication methods. You must create and populate these profiles yourself, typically in code. Users that map to existing accounts when you migrate to claims-based authentication
will use any existing profile information, but other users and new users will not have profile information. For information about how you can populate user profiles when using claims-based authentication, see "Trusted Identity Providers & User Profile
Synchronization" at
http://blogs.msdn.com/b/brporter/archive/2010/07/19/trusted-identity-providers-amp-user-profile-synchronization.aspx.
The same limitation occurs when using SharePoint Audiences. You cannot use user-based audiences directly unless you create custom code to support this, but you can use property-based audiences that make use of claims values. For information, see "Using Audiences
with Claims Auth Sites in SharePoint 2010" at
http://blogs.technet.com/b/speschka/archive/2010/06/12/using-audiences-with-claims-auth-sites-in-sharepoint-2010.aspx.
From: http://msdn.microsoft.com/en-us/library/hh446523.aspx -
I manage a couple of different version of SharePoint, which we are in the process of migrating to SharePoint 2013. I have a problem which I am not sure how to resolve. We are using MetaLogix to migrate site and site collection data from an older SharePoint
2007/WSS3.0 server environment into our new SharePoint 2013 environment and we are having a problem with user profiles that get created.
I have SharePoint 2013 set up for "SharePoint Profile Synchronization" and some of our user's profiles are being created in an older format that shows the user's claims account information, rather than the more fancy profile type that allows us
to include pictures and click on "follow this person" links.
If we manually delete the profile, it will be recreated properly however, as we are migrating many sites and collections over, it is near impossible to do this and keep track of each user so that their profiles can be deleted and recreated.
Is there some way to change this behavior so that SharePoint will only create the newer style of user profile?These 'profiles' are you looking at them in the User Profile Service Application itself or are you looking at site collections? There is a huge difference between the two but people often miss it.
In most cases you'll have some partial information on the Site Collections but when you click through to their actual profile (not just their User Information List entry) you'll see the prettier version. That information is normally internally synchronised
by a timer job but that may not have run yet and/or the fact that your users haven't actually used the site may be causing it not to update them (it's an efficiency matter).
Finally: Drop your sales guy at Metalogix an email, they will bounce it to one of their techies and they'll have seen it a million times. -
User Profile Companies & departments filtering
User Profile Store has different companies & departments. List of department shall be filtered based on the different Company selection.
There is a company dropdown & department dropdown .How can we achieve this ?
-
How to update "Encrypt with UserKey" after Windows User Profile replacement?
A problem with my User Profile required that the files be backed up, the profile deleted, a new profile created and my files restored. I have several SSIS projects built in Visual Studio 2012 that use "EncryptSensitiveWithUserKey". I assume the
"UserKey" is based on the SID or GUID of my User Profile. Now when I open these projects I get the Warning:
Warning 2 Warning loading SSISProject.dtproj: Warning: Failed to decrypt sensitive data in project with a user key. You may not be the user who encrypted this project, or you are not using the same machine that was used to save the project. If the sensitive data is a parameter value, the value may be required to run the package on the Integration Services server. SSISProject.dtproj 0 0
Is there a way to reset the UserKey in an existing project to the key for my new Profile? Is the value derived and used for encryption stored in the .dtproj file? If so can I copy that value from a new SSIS project into the .dtproj file for my old projects?
There has to be some way to "transfer ownership" of an SSIS project.
There has to be some way to transfer "ownership" of SSIS projects between developers. Forget about my specific case of my profile being recreated. Let's say I built this SSIS project and was required to use Encrypt with UserKey. I leave
the company. They ask another developer to make changes to the project. My old "ownership" of the project should be somehow transferable to the new developer. It shouldn't be tied to my ID (which no longer exists at the company) in perpetuity. Microsoft
has to have some way to transfer "ownership" of SSIS Projects with "Encrypt with UserKey". It's such a common use case I can't believe they wouldn't provide for it.
No, there is no way . This option is the default and it is actually the worst option precisely because it is useless in team development environment. Use
EncryptSensitiveWithPassword option just like Arthur suggested and you should be fine.
SSIS Tasks Components Scripts Services | http://www.cozyroc.com/ -
How do I prevent "The user profile service service failed the log on" error messages?
I work for an organization with approximately 60 staff members across ~80 Windows 7 Professional PCs. Users log in with Active Directory accounts.
Approximately once per month, a random user will get an error message while attempting to log into their machine that says "The user profile service service failed the log on." The solution to resolve this issue is here: http://support.microsoft.com/kb/947215?ppud=4&wa=wsignin1.0.
The problem is that I want to PREVENT this issue from happening, as it is incredibly inconvenient for the user. I had one staff member board a 5-hour plane trip expecting to do work, and once she got in the air she logged in and
received the error message and was unable to use her computer for the trip. I've had others locked out of their computer with deadlines to get things done, while I am at home off the clock. Editing the registry is not an easy fix, and so it's not something
I can just post instructions for in a knowledgebase article.
Does anyone know how to prevent this issue from occurring? I believe that it has something to do with a network-based startup script, or a service trying to connect to our file server, or the computer trying to connect to our ad server. All of these
are blocked by firewalls (unless the user is off-site), and I suspect that the services may be timing out, causing the user profile service service failed the logon error message, but I can't seem to eliminate it, after nearly a year of trying.
90% of the time this problem occurs when the user is off-site, but it has happened while the user is in the office too. Once the user gets this error message, the only way to resolve the problem is to log into their computer as a localadministrator account
and perform the method #1 fix in the knowledgebase article.
ThanksHave you checked the logged files in event viewer around the time when problem occurred?
Is there any suspicious events like error or warning related to this issue.
Try run Active Directory Best Practice Analyzer:
http://technet.microsoft.com/en-us/library/dd759260.aspx -
FIM EVENT ID 3 when starting User Profile Synchronization service
I am having issues getting the USP Sync Service to start correctly in our 2013 Farm.
We are using a named instance for this install and from what I have read, it looks like that is the issue.
In the ULS I find this error "ERROR ILMPostSetupConfiguration: ILM Configuration: Validating installation of SQL Service FAILED ."
The event log shows this error:
.Net SqlClient Data Provider: System.Data.SqlClient.SqlException: HostId is not registered
at Microsoft.ResourceManagement.Utilities.ExceptionManager.ThrowException(Exception exception)
at Microsoft.ResourceManagement.Data.Exception.DataAccessExceptionManager.ThrowException(SqlException innerException)
at Microsoft.ResourceManagement.Data.DataAccess.RetrieveWorkflowDataForHostActivator(Int16 hostId, Int16 pingIntervalSecs, Int32 activeHostedWorkflowDefinitionsSequenceNumber, Int16 workflowControlMessagesMaxPerMinute, Int16 requestRecoveryMaxPerMinute,
Int16 requestCleanupMaxPerMinute, Boolean runRequestRecoveryScan, Boolean& doPolicyApplicationDispatch, ReadOnlyCollection`1& activeHostedWorkflowDefinitions, ReadOnlyCollection`1& workflowControlMessages, List`1& requestsToRedispatch)
at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.RetrieveWorkflowDataForHostActivator()
at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.ActivateHosts(Object source, ElapsedEventArgs e)
The server was set up with a sql alias and we also added an alias for the server itself. Based on the below links, I did verify that the SQLInstance is empty in the registry.
I am at a loss on what to try next to get this working. As a side note, I just noticed the dev farm we have (which I didn't set up) does not have the UPS configured. I have seen references that state the only FIM 2010 SP1 works with SharePoint
2013 and am currently investigating updating the version on our server to SP1.
all help is appreciated!
Thanks,
Natalie
References:
https://translate.google.com/translate?sl=es&tl=en&js=y&prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fmsmvps.com%2Fblogs%2Fhaarongonzalez%2Farchive%2F2013%2F03%2F07%2Funa-raz-243-n-mas-por-la-cual-no-inicializa-la-aplicaci-243-n-de-servicio-de-perfiles-de-usuario-de-sharepoint-2010.aspx&edit-text=
http://sharepoint.licomputersource.com/2010/07/23/installing-and-configuring-user-profile-synchronization-service-in-sharepoint-2010-2/
NLewisHave you tried restarting the server hosting the FIM instance?
http://blogs.msdn.com/b/akhawaja/archive/2010/03/24/forefront-identity-manager-hostid-is-not-registered.aspx
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.
Maybe you are looking for
-
The Restart Firefox add-on is not compatible
-
How to make Firefox notify me every time other software tries to install ff plug-in?
If I'm noy confusing things, there was a feature that informed a user about new plug-ins insltalled by other programs. For example, I install VLC media player. VLC ff plug-in is installed also. What I want is: the next time I launch firefox, a messag
-
HT4571 my ipad2 has only verizon as a carrier can i change it to att
i have the ipad 2 and my hubby has ipad3 one is verizon and the other is att. Can mine be change to att insted of verizon?
-
Getting a Song into the Right Key?
I'm trying to use GarageBand as an accompanying "band" for improvisation practice for myself and my students. I can't seem to figure out how to get a tune using only GB loops into the exact key I want. For example, I set the song to E major (and that
-
Best Practice for migration to Exadata2
Hi Guru, I'm thinking to migrate an Oracle RAC 11g (11.2.0.2) on HP/UX Itanium cluster machine to a New Exadata 2 System Are there best practice? Where can I found documentation about migration? Thanks very much Regards Gio Edited by: ggiulian on 18-