User - Profile link table?

Hi All,
We are connecting via SAP JCo  to an ECC 6.0 system. The task is to retrieve all users that have a specific set of profiles.
Currently we are using RFC_READ_TABLE on USR02 to get a list of User Names, and then with each name making a call to BAPI_GET_USER_DETAIL and then checking if the user has the specified profile.
This works fine if almost all users have one of the specified profiles, but isnt so great if only a few of them do as it makes a call to the BAPI for every user. It would be much better if we only had to make the BAPI call for those users that we already knew had the specified profiles.
My question, Surely there is a link table or somewhere that links the users to the profiles, Where abouts is this, or what is it called.
Any help or pointers would be much appreciated.

Hi Paul,
There is a standard SAP report that list users assigned to a specific role (program name is RSUSR002).  I've had a quick skim through the code and there's nothing obvious, but you may find something of use in there.
Regards,
Nick

Similar Messages

  • Linking Image to User in seperate table

    I am building a dynamic Image gallery where users can upload images to their profile for customers to view. The images are stored in a file with the path to the image stored in a different table than the details for the user. So far I have managed to do the image upload and link the user ID in the Images table to the ID in the details table so that all the images associated with that user is linked to his record in the details table. My problem comes in when joining these two tables for one recordset. I have managed to join them, only that each record with more than one image associated with it displays more than once. So if user 1 uploaded two images, his record comes up twice in the results. Any suggestions as to how I can force the query to display every record only once no matter how many images that user uploaded?
    Hope this makes sense. Thanks
    Reandré

    The detail page will be used to display all the info on a specific establishment, so my detailRS1 Recordset is the actual detail recordset and not the images recordset. Not sure if it makes sense? Let me paste the code here:
    $maxRows_DetailRS1 = 10;
    $pageNum_DetailRS1 = 0;
    if (isset($_GET['pageNum_DetailRS1'])) {
      $pageNum_DetailRS1 = $_GET['pageNum_DetailRS1'];
    $startRow_DetailRS1 = $pageNum_DetailRS1 * $maxRows_DetailRS1;
    $colname_DetailRS1 = "-1";
    if (isset($_GET['recordID'])) {
      $colname_DetailRS1 = $_GET['recordID'];
    mysql_select_db($database_test, $test);
    $query_DetailRS1 = sprintf("SELECT * FROM name WHERE id = %s", GetSQLValueString($colname_DetailRS1, "int"));
    $query_limit_DetailRS1 = sprintf("%s LIMIT %d, %d", $query_DetailRS1, $startRow_DetailRS1, $maxRows_DetailRS1);
    $DetailRS1 = mysql_query($query_limit_DetailRS1, $test) or die(mysql_error());
    $row_DetailRS1 = mysql_fetch_assoc($DetailRS1);
    if (isset($_GET['totalRows_DetailRS1'])) {
      $totalRows_DetailRS1 = $_GET['totalRows_DetailRS1'];
    } else {
      $all_DetailRS1 = mysql_query($query_DetailRS1);
      $totalRows_DetailRS1 = mysql_num_rows($all_DetailRS1);
    $totalPages_DetailRS1 = ceil($totalRows_DetailRS1/$maxRows_DetailRS1)-1;
    mysql_select_db($database_test, $test);
    $query_Recordset1 = "SELECT * FROM images";
    $Recordset1 = mysql_query($query_Recordset1, $test) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    //head
    //body
    <div id="content">
      <img src="Images/heading_index.png" alt="Search, Browse and find &lt;b&gt;Accommodation in South Africa&lt;b&gt;" width="735" height="33" hspace="80" vspace="10" />
      <p><?php if ($row_Recordset1['usrID'] = $row_DetailRS1['id']) { ?>
      <img src="<?php echo $row_Recordset1['path']; ?>" />
    <?php } ?></p>
      <table border="1" align="center">
      <tr>
        <td>id</td>
        <td><?php echo $row_DetailRS1['id']; ?></td>
      </tr>
      <tr>
        <td>name</td>
        <td><?php echo $row_DetailRS1['name']; ?></td>
      </tr>
      <tr>
        <td>province</td>
        <td><?php echo $row_DetailRS1['province']; ?></td>
      </tr>
      <tr>
        <td>city</td>
        <td><?php echo $row_DetailRS1['city']; ?></td>
      </tr>
      <tr>
        <td>type</td>
        <td><?php echo $row_DetailRS1['type']; ?></td>
      </tr>
      <tr>
        <td>price</td>
        <td><?php echo $row_DetailRS1['price']; ?></td>
      </tr>
      <tr>
        <td>website</td>
        <td><?php echo $row_DetailRS1['website']; ?></td>
      </tr>
      <tr>
        <td>email</td>
        <td><?php echo $row_DetailRS1['email']; ?></td>
      </tr>
      <tr>
        <td>fax</td>
        <td><?php echo $row_DetailRS1['fax']; ?></td>
      </tr>
      <tr>
        <td>landline</td>
        <td><?php echo $row_DetailRS1['landline']; ?></td>
      </tr>
      <tr>
        <td>cell</td>
        <td><?php echo $row_DetailRS1['cell']; ?></td>
      </tr>
      <tr>
        <td>contact_name</td>
        <td><?php echo $row_DetailRS1['contact_name']; ?></td>
      </tr>
      <tr>
        <td>caontact_surname</td>
        <td><?php echo $row_DetailRS1['caontact_surname']; ?></td>
      </tr>
      <tr>
        <td>profile_pic</td>
        <td><?php echo $row_DetailRS1['profile_pic']; ?></td>
      </tr>
      <tr>
        <td>username</td>
        <td><?php echo $row_DetailRS1['username']; ?></td>
      </tr>
      <tr>
        <td>password</td>
        <td><?php echo $row_DetailRS1['password']; ?></td>
      </tr>
    </table>
      master
    </div>
    Hope you can make more sense of what I am trying to do. Not sure how to explain it. This is only a test page but all the basic information is there

  • When clicking on an email link, I want the firefox user profile menu to open instead of going to the last used profile. How do I make this work?

    When I click on a link in Thunderbird to open a web page, and Firefox is not already open, I want to have the user profile screen presented so that I can select which profile to use for the Firefox session. Instead, it opens the last used profile. Is there a way to do this?

    That is is always a problem when you are using multiple profiles and Firefox isn't running.
    It might work if no profile is selected (i.e. marked as Default=1 in profiles.ini).<br />
    You can use desktop shortcut that open with a specific profile (-P "profile").<br />
    There is also a setting in the Profile Manager (Don't ask at startup).

  • Link to user-profile

    Hi,
    I want to create a static user list. From this list I want to be able to view the user profiles.
    When creating the user list as a link list, I can't "decrypt" the link to the user profile.
    When using a system-user list (like user-list reaching by klicking on a user-group) I don't know which Iview I've to use and I don't know how to tell him which users are in this group.
    Please give me some advice.
    Thanks Janko Mühling

    Hi Sunny,
    Unable to guage the prob here. But can give you the step by step process to set a Partner Determination procedure.
    1) Define Partner Functions
    2) Define Partner Determination Procedure (PDP)
    2) Assign Partner Functions to PDP
    4) Create Access sequences and Accesses
    5) Assign Access sequences to respective Partner Functions
    6) Assign PDP to new Transaction created
    This will surely help you acheive the requirement.
    Please revert if any issues.
    Please Reward points if helpful
    Regards,
    Suji

  • User Profile Table in OBIEE 10g

    Hi,
    In obiee 10g do we have any table at database level or system level which contains the details of user profile information?
    We have 100+ users and I want the detail of all users (name, mail id etc.).
    Please suggest.
    Thanks.

    Hi,
    You can use SA System Subject Area to do this. Here is a sample description:
    http://oraclebizint.wordpress.com/2008/04/25/oracle-bi-ee-101332-sa-system-subject-area-autoloading-profiles-and-bursting/
    Hope it's helpful

  • Display Assistant Field as Clickable Link to Users Profile

    Hi
    I've added the Assistant field to the People Search results page.  However, the data for the field displays as the users account name i:0#.f|membership|[email protected] instead of the users Display Name.  I would prefer that their display name
    is displayed and if we could event take it one step further to be a link to their user profile page.
    Thanks!

    Hi Will Ho
    I don't think that is what I'm looking for.  I don't think that I explained it well.  But, of course, thank you for taking the time to assist!
    I added the "Assistant" field so that it displays on the People Search results page.  The reason for this is that staff members want to know who a persons assistant is if they are not in the office.  So, they search for the person and
    now, listed under that persons contact information on the people search results page is a field called "Assistant". 
    All of that works great.  The issue that I'm having is that I would like for the value of this field, which currently displays as the Assistant's account name to display the friendly or preferred name (Display Name) instead.
    For instance.  The Assistant field might show i:0#.f|membership|[email protected] as the value.  But I would like for it to simply display the users name
    Chris Vaughn
    Now, if we are able to achieve the above, then I would like to know if we can take this just one step further and to have the Assistant's name be clickable and, if clicked, would take the user to that Assistant's profile page in SharePoint.
    This is all in SharePoint Online.
    Thank you all for your help!

  • Some links and social network features not active in user profile service for some users in sharepoint 2013

    Hi everyone,
    I installed user profile service and synchronize. When I go to my site by administrator user every things is OK.
    But when I login by another user the my site is look like this
    Please guide me to resolve this problem.
    Thanks in advance.

    Can you please check and share mysite setting details. Check for below:
    Create a site collection at the root using the My Site Host template
    Assuming you want users’ MySites to be created at
    http://mySiteHost/personal/[John_Smith], create a Managed Path for the web app. The path should be personal, and the type should be
    Wildcard Inclusion.
    In User Profile Service Application, set My Site Host location to
    http://mySiteHost, and
    Personal Site Location to personal.
    Enable Self-Service Site Creation for the web app
    Check when the timerjob was mysite last executed. Try to manually run them
    Check ULS Log for possible error and share error details with us
    If this helped you resolve your issue, please mark it Answered

  • Web - What is easiest way to implement User Security and User Profiles

    Hi, I am new to these forums and kind of new to Java. Sorry if this is in the wrong forum!
    Bit of background to my experience with java
    I have been playing about with java for a number of years and have created a few basic programs such as a screen shot tool that allows you to capture to default locations and look at previews first etc. I am now venturing into web related stuff. I work in IT doing systems testing and have done bits of basic development on various things.
    What I've done so far
    I am using Netbeans IDE 6.7 and MySQL 5.0
    I am trying to learn more complex java and have decided to try build a basic web / database system that basically implements adding / amending / deleting data from a MySQL database through web pages. I am now trying to implement basic user access and profiles. I have so far got the following:
    - MySQL table with user info - username / password
    - JSP page with usual login stuff
    - Servlet that validates the username and password - if correct forwards to main menu page.
    Its as simple as that - there is nothing stopping you just typing in the URL of the main menu page and going from there.
    What I want
    I am wanting to eventually get the following:
    - User authentication so that you have to logon before you can access anything else
    - User profiles that determine what each user can or can't do, restricting the pages / services / options available (i.e. normal user can't delete etc)
    - Would it need some sort of session manager to allow multiple users etc?
    I appreciate this is a fairly open question but what is the easiest way to start implementing this? Not after specific code as I would prefer to try figger things out myself, but a point in the right direction would be great. It doesn't have to be extremely secure as this is just for me at the minute.
    I have spent all day looking at things like session data / url rewriting / security settings in web.xml / bespoke servlets and am now in java overload!

    Hi everyone,
    I've now actually gone back to the tutorial that I linked to above and implemented that using form login and j_security_check.
    Agree with Saish, and although I don't know enough about the other options to give a good reason, using realms and j_security_check just seems to be a bit cluncky and messy. I would also prefer something a bit more generic, that doesn't rely on setting users in glassfish, hence why I started with my own user table.
    Anyway, I will leave it as is for now and maybe come back and try one of the other options.
    The only problem I can see now is that to add users i will need to go through all the steps of adding users in glassfish and web.xml... Is there a way to do this through a servlet or something so I can have a jsp page to add users that also creats all the other bits for it to work?
    Thanks everyone for your help

  • User Profile Sync not working after March CU

    It appears that since installing the March CU for Sharepoint 2013, the user profile service is no longer working correctly. The status for user syncronization is always in a "Stopping" phase and the event logs are reporting the following every
    hour... Do I have to take out the entire service and reinstall it, or is their a way to fix it?
    Log Name:      Application
    Source:        FIMSynchronizationService
    Date:          3/28/2013 1:40:05 PM
    Event ID:      6324
    Task Category: Server
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      xxxx.xxxxxx.com
    Description:
    The server encountered an unexpected error and stopped.
     "BAIL: MMS(2072): sql.cpp(8490): 0x80231334 (The sql connection string has unsupported values.)
    BAIL: MMS(2072): sql.cpp(8533): 0x80231334 (The sql connection string has unsupported values.)
    BAIL: MMS(2072): server.cpp(260): 0x80231334 (The sql connection string has unsupported values.)
    BAIL: MMS(2072): server.cpp(3860): 0x80231334 (The sql connection string has unsupported values.)
    BAIL: MMS(2072): service.cpp(1539): 0x80231334 (The sql connection string has unsupported values.)
    ERR: MMS(2072): service.cpp(988): Error creating com objects. Error code: -2145184972. This is retry number 0.
    BAIL: MMS(2072): clrhost.cpp(283): 0x80131022
    BAIL: MMS(2072): scriptmanagerimpl.cpp(7670): 0x80131022
    BAIL: MMS(2072): server.cpp(251): 0x80131022
    BAIL: MMS(2072): server.cpp(3860): 0x80131022
    BAIL: MMS(2072): service.cpp(1539): 0x80131022
    ERR: MMS(2072): service.cpp(988): Error creating com objects. Error code: -2146234334. This is retry number 1.
    BAIL: MMS(2072): clrhost.cpp(283): 0x80131022
    BAIL: MMS(2072): scriptmanagerimpl.cpp(7670): 0x80131022
    BAIL: MMS(2072): server.cpp(251): 0x80131022
    BAIL: MMS(2072): server.cpp(3860): 0x80131022
    BAIL: MMS(2072): service.cpp(1539): 0x80131022
    ERR: MMS(2072): service.cpp(988): Error creating com objects. Error code: -2146234334. This is retry number 2.
    BAIL: MMS(2072): clrhost.cpp(283): 0x80131022
    BAIL: MMS(2072): scriptmanagerimpl.cpp(7670): 0x80131022
    BAIL: MMS(2072): server.cpp(251): 0x80131022
    BAIL: MMS(2072): server.cpp(3860): 0x80131022
    BAIL: MMS(2072): service.cpp(1539): 0x80131022
    ERR: MMS(2072): service.cpp(988): Error creating com objects. Error code: -2146234334. This is retry number 3.
    BAIL: MMS(2072): service.cpp(1002): 0x80131022
    Forefront Identity Manager 4.0.2450.49"

    I had rebooted days ago... I have rebooted a couple of times today before posting here... Didn't help...
    I found a procedure on another link that looked like it would reset the syncronization database, but that doesn't appear to have worked out any better. The procedure was a follows:
    $syncDBType = "Microsoft.Office.Server.Administration.SynchronizationDatabase"
    $upaSAType = "User Profile Service Application"
    $syncDB = Get-SPDatabase | where-object {$_.Type -eq $syncDBType}
    $upa = Get-SPServiceApplication | where-object {$_.TypeName -eq $upaSAType}
    $syncDB.Unprovision()
    $syncDB.Status = "Offline"
    $upa.ResetSynchronizationMachine()
    $upa.ResetSynchronizationDatabase() 
    $syncDB.Provision() 
    restart-service SPTimerV4 
    This appears to have completely reset the syncronization database to the point where I don't even see tables and views any more in that database. That sounded good, but the "User Profile Synchronization Service" wont start and it doesn't appear to be able
    to provision the database. I am trying to start the service using the farm account and I know the password is good...

  • Edit User Profile

    Hi
    I am having some problems....... any help would be nice
    I am using DWCS3 and ADDT toolbox extension wamp and
    phpmyadmin
    I am trying to create a site for people to be able to post a
    profile with a picture and info and display it in a dynamic table.
    I can create the form, a database and display the data on
    another page in a dynamic table all ok..... kind of.
    I can create a user registration system with ADDT.
    I can redirect them after registration to a post profile
    page, which has a form to upload details. I can then display those
    details on a user info page.
    I would like to allow logged in users to be able to click on
    a link to their own profile page , which would show the same form
    that was filled out in the post profile page, but would be already
    populated with their previously entered information. I would like
    users to be able to edit the content of the form and update the
    information in the database and automatically delete delete any
    previously entered information ( only in the fields that have been
    edited)
    How do I go about doing this?.... step by step?
    I want to allow logged in user to view their own profile not
    every bodies.... how do I do that?
    I have read on another post that to do something similar to
    this I should filter my database information using a session
    varialble MM_username that I think is created automatically after
    user logs in .... but I don;t know how to do this.... I really
    don;t understand is this the way I link my user to a page that only
    displays their info ? or is there another way?
    I would also like to allow only people who have posted a
    profile to be able to edit profile ...... do I do that by
    1. new user registers and is redirected to login page
    2. user logs in and is redirected to an index page that has a
    post profile button and a edit profile button but only the POST
    button is active ( and links to a form to post info ) and the edit
    profile button is linked to a " You must post a profile first" page
    ( with a link back)
    3 so user posts profile and is directed to an index page
    which has an edit profile button which is now linked to an edit
    profile page
    Does that sound correct?
    Any suggestions in getting all this to work would be much
    appreciated

    Hi ,
    For the Add New Mapping's "Add" button grayed out, when I change to another/second "Synchronization Connection" from "Source Data Connection" dropdown, then "Add" button will be available.
    For the Property Mapping for Synchronization's "Remove" button grayed out,
    please make sure your Farm account or user account has the following permissions, then check results again.
    http://technet.microsoft.com/en-us/library/ee721049(v=office.15).aspx#MapUserProc
    The user account that performs this procedure is a farm administrator or an administrator of the User Profile service application.
    The user account that performs this procedure is a member of the Administrators group on the computer that is running SharePoint Server.
    Thanks
    Daniel Yang
    TechNet Community Support

  • How to recover user profile PSADMIN to its original status ?

    Folks,
    Hello. My user ID to login into Application Designer is "PSADMIN". I just set up PIA. "http://localhost/psp/ps/?cmd=login" can get to PeopleSoft signon page, and I use "PSADMIN" to login. I can open all of web pages after login. "PSADMIN" is access profile and user profile.
    But after I create a role "newUser" and assign a permission list to the Role, then link the role "newUser" to user profile "PSADMIN", I cannot open most of the web pages after login into PeopleSoft signon page using "PSADMIN". The system come up the message: " You have no access to the Navigation collection. Please contact your Portal Administrator".
    Can any folks tell me how to recover user profile "PSADMIN" to its original status so that open all of web pages after login ?
    Thanks.

    go into PIA using a root user like VP1 or PS and delete what u added to PSADMIN.
    if u have locked ur root user by any chance ... unlocked using back end.
    PSOPRDEFN TABLE , unlock root user using update acctlock .
    then login using that and make changes to PSADMIN. or else simply from the backend u can delete the added role from PSADMIN profile using same table.

  • How to Bind a Combo Box so that it retrieves and display content corresponding to the Id in a link table and populates itself with the data in the main table?

    I am developing a desktop application in Wpf using MVVM and Entity Frameworks. I have the following tables:
    1. Party (PartyId, Name)
    2. Case (CaseId, CaseNo)
    3. Petitioner (CaseId, PartyId) ............. Link Table
    I am completely new to .Net and to begin with I download Microsoft's sample application and
    following the pattern I have been successful in creating several tabs. The problem started only when I wanted to implement many-to-many relationship. The sample application has not covered the scenario where there can be a any-to-many relationship. However
    with the help of MSDN forum I came to know about a link table and managed to solve entity framework issues pertaining to many-to-many relationship. Here is the screenshot of my application to show you what I have achieved so far.
    And now the problem I want the forum to address is how to bind a combo box so that it retrieves Party.Name for the corresponding PartyId in the Link Table and also I want to populate it with Party.Name so that
    users can choose one from the dropdown list to add or edit the petitioner.

    Hello Barry,
    Thanks a lot for responding to my query. As I am completely new to .Net and following the pattern of Microsoft's Employee Tracker sample it seems difficult to clearly understand the concept and implement it in a scenario which is different than what is in
    the sample available at the link you supplied.
    To get the idea of the thing here is my code behind of a view vBoxPetitioner:
    <UserControl x:Class="CCIS.View.Case.vBoxPetitioner"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:v="clr-namespace:CCIS.View.Case"
    xmlns:vm="clr-namespace:CCIS.ViewModel.Case"
    mc:Ignorable="d"
    d:DesignWidth="300"
    d:DesignHeight="200">
    <UserControl.Resources>
    <DataTemplate DataType="{x:Type vm:vmPetitioner}">
    <v:vPetitioner Margin="0,2,0,0" />
    </DataTemplate>
    </UserControl.Resources>
    <Grid>
    <HeaderedContentControl>
    <HeaderedContentControl.Header>
    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
    <TextBlock Margin="2">
    <Hyperlink Command="{Binding Path=AddPetitionerCommand}">Add Petitioner</Hyperlink>
    | <Hyperlink Command="{Binding Path=DeletePetitionerCommand}">Delete</Hyperlink>
    </TextBlock>
    </StackPanel>
    </HeaderedContentControl.Header>
    <ListBox BorderThickness="0" SelectedItem="{Binding Path=CurrentPetitioner, Mode=TwoWay}" ItemsSource="{Binding Path=tblParties}" />
    </HeaderedContentControl>
    </Grid>
    </UserControl>
    This part is working fine as it loads another view that is vPetioner perfectly in the manner I want it to be.
    Here is the code of vmPetitioner, a ViewModel:
    Imports Microsoft.VisualBasic
    Imports System.Collections.ObjectModel
    Imports System
    Imports CCIS.Model.Party
    Namespace CCIS.ViewModel.Case
    ''' <summary>
    ''' ViewModel of an individual Email
    ''' </summary>
    Public Class vmPetitioner
    Inherits vmParty
    ''' <summary>
    ''' The Email object backing this ViewModel
    ''' </summary>
    Private petitioner As tblParty
    ''' <summary>
    ''' Initializes a new instance of the EmailViewModel class.
    ''' </summary>
    ''' <param name="detail">The underlying Email this ViewModel is to be based on</param>
    Public Sub New(ByVal detail As tblParty)
    If detail Is Nothing Then
    Throw New ArgumentNullException("detail")
    End If
    Me.petitioner = detail
    End Sub
    ''' <summary>
    ''' Gets the underlying Email this ViewModel is based on
    ''' </summary>
    Public Overrides ReadOnly Property Model() As tblParty
    Get
    Return Me.petitioner
    End Get
    End Property
    ''' <summary>
    ''' Gets or sets the actual email address
    ''' </summary>
    Public Property fldPartyId() As String
    Get
    Return Me.petitioner.fldPartyId
    End Get
    Set(ByVal value As String)
    Me.petitioner.fldPartyId = value
    Me.OnPropertyChanged("fldPartyId")
    End Set
    End Property
    End Class
    End Namespace
    And below is the ViewMode vmParty which vmPetitioner Inherits:
    Imports Microsoft.VisualBasic
    Imports System
    Imports System.Collections.Generic
    Imports CCIS.Model.Case
    Imports CCIS.Model.Party
    Imports CCIS.ViewModel.Helpers
    Namespace CCIS.ViewModel.Case
    ''' <summary>
    ''' Common functionality for ViewModels of an individual ContactDetail
    ''' </summary>
    Public MustInherit Class vmParty
    Inherits ViewModelBase
    ''' <summary>
    ''' Gets the underlying ContactDetail this ViewModel is based on
    ''' </summary>
    Public MustOverride ReadOnly Property Model() As tblParty
    '''' <summary>
    '''' Gets the underlying ContactDetail this ViewModel is based on
    '''' </summary>
    'Public MustOverride ReadOnly Property Model() As tblAdvocate
    ''' <summary>
    ''' Gets or sets the name of this department
    ''' </summary>
    Public Property fldName() As String
    Get
    Return Me.Model.fldName
    End Get
    Set(ByVal value As String)
    Me.Model.fldName = value
    Me.OnPropertyChanged("fldName")
    End Set
    End Property
    ''' <summary>
    ''' Constructs a view model to represent the supplied ContactDetail
    ''' </summary>
    ''' <param name="detail">The detail to build a ViewModel for</param>
    ''' <returns>The constructed ViewModel, null if one can't be built</returns>
    Public Shared Function BuildViewModel(ByVal detail As tblParty) As vmParty
    If detail Is Nothing Then
    Throw New ArgumentNullException("detail")
    End If
    Dim e As tblParty = TryCast(detail, tblParty)
    If e IsNot Nothing Then
    Return New vmPetitioner(e)
    End If
    Return Nothing
    End Function
    End Class
    End Namespace
    And final the code behind of the view vPetitioner:
    <UserControl x:Class="CCIS.View.Case.vPetitioner"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:vm="clr-namespace:CCIS.ViewModel.Case"
    mc:Ignorable="d"
    Width="300">
    <UserControl.Resources>
    <ResourceDictionary Source=".\CompactFormStyles.xaml" />
    </UserControl.Resources>
    <Grid>
    <Border Style="{StaticResource DetailBorder}">
    <Grid>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="Auto" />
    <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>
    <TextBlock Grid.Column="0" Text="Petitioner:" />
    <ComboBox Grid.Column="1" Width="240" SelectedValuePath="." SelectedItem="{Binding Path=tblParty}" ItemsSource="{Binding Path=PetitionerLookup}" DisplayMemberPath="fldName" />
    </Grid>
    </Border>
    </Grid>
    </UserControl>
    The problem, presumably, seems to be is that the binding path "PetitionerLookup" of the ItemSource of the Combo box in the view vPetitioner exists in a different ViewModel vmCase which serves as an ObservableCollection for MainViewModel. Therefore,
    what I need to Know is how to route the binding path if it exists in a different ViewModel?
    Sir, I look forward to your early reply bringing a workable solution to the problem I face. 
    Warm Regards,
    Arun

  • User Profiles are the wrong style after importing/migrating site collections from other SharePoint versions

    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.

  • Unable to push user profiles to AD groups with Profile Manager since upgrade to Server v3

    Since upgrading our OS X Mac server from 10.8.5 to 10.9.1, and OS X Server app to v3 (now 3.0.2) I have been unable to push or modify user profiles to AD groups (or AD users) using Profile Manager. This was working fine on OS X 10.8.5. Pushing device profiles is still working OK after the upgrade.
    From what I can see from the logs on the client side and server side, it seems related to a problem with the mdm authtoken.
    In the client console I can see this entry:
    27/01/14 14:30:15.844 mdmclient[38557]: *** ERROR *** [Agent:636102071] Unable to proceed with connection to: https://ourserver.ourdomain/devicemanagement/api/device/mdm_connect (com.apple.mdmconfig.mdm) because don't have valid MDM AuthToken
    On the server, in the php.log I can see the corresponding attempt to authenticate:
    1::Jan 27 14:29:50.930 [158] <192.168.28.171> {require_once (mdm_checkin.php:11)} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv - PUT mdm_checkin
    0::Jan 27 14:29:50.931 [158] <192.168.28.171> checkin: 'UserAuthenticate'
    1::Jan 27 14:29:50.936 [158] <192.168.28.171> {Target_for_incoming_request (target.php:209)} Found target NETWORK LS: <User[156]@ourclientmachine>
    0::Jan 27 14:29:50.937 [158] <192.168.28.171> {LabSession_validate_auth_token (mdm_checkin.php:22)} Failed auth for target NETWORK LS: <User[156]@Device[1697]>, incoming_request={
    0::Jan 27 14:29:50.937 [158] <192.168.28.171>   'MessageType'=>'UserAuthenticate',
    0::Jan 27 14:29:50.937 [158] <192.168.28.171>   'UDID'=>'17aff5c5a40f51acbbd78023d0028c80',
    0::Jan 27 14:29:50.937 [158] <192.168.28.171>   'UserID'=>'A5EA25B7-7CCD-4EF4-B240-F23DED275EEC'
    0::Jan 27 14:29:50.937 [158] <192.168.28.171> }
    1::Jan 27 14:29:50.965 [158] <192.168.28.171> {SendFinalOutput (mdm_checkin.php:145)} Sent Final Output (407 bytes)
    1::Jan 27 14:29:50.965 [158] <192.168.28.171> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - /devicemanagement/mdm/mdm_checkin
    0::Jan 27 14:29:50.965 [158] <192.168.28.171> {SendFinalOutput (mdm_checkin.php:145)} Completed in 34ms | 200 OK [https://ourserver.ourdomain/devicemanagement/api/device/mdm_checkin]
    So I can see there is a failure to authenticate, but don't really know how to troubleshoot this further. Or maybe this is just a bug in the new server app?
    I have tried to remove and re-enroll clients in Profile Manager but no joy there.
    In the client's Keychain I can see an MDM user AuthToken linked to the correct user account.
    Thanks in advance for any help or suggestions

    I just wanted to update my post, as this issue for me is resolved.
    I uninstalled and reinstalled the Server.app on our Mac server, since then I've been able to push profiles to AD Users and Groups. I guess that in my case the Server app got into a bit of a mess when it was upgraded to v3.
    Now the next headache I have is that my AD Groups which are displayed in Profile Manager are not syncing any recent changes. I think I'm probably seeing the same issue as described in this post
    https://discussions.apple.com/message/25420919#25420919

  • Unable to start User Profile Sync Service

    Hi,
    I am currently facing some issues with starting the User Profile Sync Service on my SP2013 farm.. I was wondering if someone could help me out a bit.
    I have successfully installed the SP2013 farm on a environment that has access to our AD etc. and I have also
    restored the database from SP2007 and converted it to Claims authentication etc. The one thing I can’t get to work is to enable the User Profile Sync Service on the server. I have checked quite a bit of TechNet blogs and other sites and tried almost everything
    suggested but it still fails. I’ve also recreated the farm from scratch yesterday again but no luck still
    L.
    The below is what I have done:
    Farm Admin account – spadmin2013 is local admin on all SP Farm servers (2 WFE and 2 APP Servers) and has log on locally rights as well on security policy. On the SQL DB it has dbo permissions on the Sync, Profile and Social DB’s.
    Farm Service account – spservice-s is a managed farm account that is used to run the various services of the farm (used during the config wizard part).
    From within the Admin Control Panel I have verified the managed accounts and it is indeed spadmin2013 which owns the User Profile Sync Service (not the application itself). When I try to start the service it tries to do that for 5-10 minutes and then fails
    and goes back to stop and I do not see any error. I have created a custom service application with new database that runs on spadmin2013/spfarm/ldap accounts etc. I can see from the Windows services – FIM and FIMSync service try to start using the spadmin2013
    and then go back to disabled. I have also tried giving the spadmin2013 rights to replicate the AD as few blogs suggested that. I am not sure where this is going wrong or what is missing. I had successfully got this to work and still can get it to work on my
    first SP2013 server which is a standalone – running SQL, SP app and WFE on the same box.
    In fact I also tried to activate this service first before I joined my 3 other servers to the farm and had no luck. I am kinda lost here as to what is going on! 

    Right. i ran a new log as suggested. I have also cleared the config cache and created a Powershell profile as suggested in this link - http://blogs.msdn.com/b/bryanbolling/archive/2014/01/02/unable-to-start-user-profile-synchronization-service.aspx
    I checked the ULS Logs and i can see the below error -
    ILM Configuration: Validating account.
    ILM Configuration: Validating the system groups
    ILM Configuration: Setting up WMI
    ILM Configuration: Setting required permissions
    ILM Configuration: Create install config file
    ILM Configuration: Update source project
    ILM Configuration: Changing service account credentials
    ILM Configuration: Setting policy for service account
    Updating SPPersistedObject UserProfileApplication Name=User Profile Sync Service. Version: 63903 Ensure: False, HashCode: 55647834, Id: ef1ec55c-aa15-4cb7-a9fe-498382a88b4e, Stack:
    at Microsoft.Office.Server.Administration.UserProfileApplication.Update()
    at Microsoft.Office.Server.Administration.UserProfileApplication.SetupSynchronizationService(ProfileSynchronizationServiceInstance profileSyncInstance)
    at Microsoft.Office.Server.Administration.ProfileSynchronizationSetupJob.Execute(SPJobState state)
    at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result)
    at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result)
    SQL connection time: 131.92704 for Data Source=SPSQLAGL;Initial Catalog="Sync DB";Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15;Application Name="SharePoint[OWSTIMER][1][Sync DB]"
    ILM Configuration: Configuring database
    ILM Configuration: Error 'ERR_CONFIG_DB'
    UserProfileApplication.SynchronizeMIIS: Failed to configure MIIS post database, will attempt during next rerun. Exception: System.Configuration.ConfigurationErrorsException: ERR_CONFIG_DB
    at Microsoft.Office.Server.UserProfiles.Synchronization.ILMPostSetupConfiguration.ValidateConfigurationResult(UInt32 result)
    at Microsoft.Office.Server.UserProfiles.Synchronization.ILMPostSetupConfiguration.ConfigureMiisStage2()
    at Microsoft.Office.Server.Administration.UserProfileApplication.SetupSynchronizationService(ProfileSynchronizationServiceInstance profileSyncInstance).
    UserProfileApplication.SynchronizeMIIS: End setup for 'User Profile Sync Service'.
    Updating SPPersistedObject ProfileSynchronizationSetupJob Name=ProfileSynchronizationSetupJob. Version: 63899 Ensure: False, HashCode: 36296732, Id: 7aeb377f-8bd1-453d-b6be-6a373eaf350d, Stack:
    at Microsoft.SharePoint.Administration.SPJobDefinition.Update()
    at Microsoft.Office.Server.Administration.ProfileSynchronizationSetupJob.Execute(SPJobState state)
    at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result)
    at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result)
    Leaving Monitored Scope (Timer Job ProfileSynchronizationSetupJob). Execution Time=6041.65717333333
    Name=Timer Job User Profile Sync Service_ProfileSynchronizationJob
    Updating SPPersistedObject ProfileSynchronizationSetupJob Name=ProfileSynchronizationSetupJob. Version: -1 Ensure: False, HashCode: 13918585, Id: 21e01df1-8772-487d-bd56-f699b3912bda, Stack:
    at Microsoft.SharePoint.Administration.SPJobDefinition.Update()
    at Microsoft.Office.Server.Administration.UserProfileApplication.StartSynchronizationServiceSetupTimer(String strSyncMachineAddress)
    at Microsoft.Office.Server.Administration.UserProfileApplication.SynchronizeMIIS()
    at Microsoft.Office.Server.Administration.ILMProfileSynchronizationJob.Execute()
    at Microsoft.Office.Server.Administration.UserProfileApplicationJob.Execute(SPJobState jobState)
    at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result)
    at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result)
    Updating SPPersistedObject ProfileSynchronizationSetupJob Name=ProfileSynchronizationSetupJob. Version: 63913 Ensure: False, HashCode: 13918585, Id: 21e01df1-8772-487d-bd56-f699b3912bda, Stack:
    at Microsoft.SharePoint.Administration.SPJobDefinition.Update()
    at Microsoft.Office.Server.Administration.UserProfileApplication.StartSynchronizationServiceSetupTimer(String strSyncMachineAddress)
    at Microsoft.Office.Server.Administration.UserProfileApplication.SynchronizeMIIS()
    at Microsoft.Office.Server.Administration.ILMProfileSynchronizationJob.Execute()
    at Microsoft.Office.Server.Administration.UserProfileApplicationJob.Execute(SPJobState jobState)
    at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result)
    at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result)
    I have verified the spadmin2013 does have dbo permissions and also is part of security & sysadmin in sql server. I run SQL 2012 with SP1

Maybe you are looking for