Displaying Distinct User Profiles

I am familiar with creating login and register pages for
users to access restricted pages (i.e. Admin Area). In my database,
I have a members table that consist of one person's profile info
including a username and password fields. What I want to accomplish
is that when one user logs in, that they will be directed to a
profile.php page that will display only their information and not
that of other users. How can I filter the profile.php page to
display only that record of the person signing in? Do I need to
pass some sort of variable from the login page to the profile.php
page? If the user logs in correctly, how can he or she be
restricted to view info of other members who's profile info is
stored in the same members table?

if you're using the DW login behavior, it creates a session
var named
'MM_Username' containing, of course, the user name. so, in
the DB query
in profile.php page you can filter to get the proper data
if you're using your own code, just create a var session when
the login
is successful and before redirecting to profile.php
zuffster wrote:
> I am familiar with creating login and register pages for
users to access
> restricted pages (i.e. Admin Area). In my database, I
have a members table that
> consist of one person's profile info including a
username and password fields.
> What I want to accomplish is that when one user logs in,
that they will be
> directed to a profile.php page that will display only
their information and not
> that of other users. How can I filter the profile.php
page to display only that
> record of the person signing in? Do I need to pass some
sort of variable from
> the login page to the profile.php page? If the user logs
in correctly, how can
> he or she be restricted to view info of other members
who's profile info is
> stored in the same members table?
>

Similar Messages

  • Configured new language not displayed in user profile Language options

    Hi all,
    I have a requirement to add new language in portal. In that I have configured the language u201Chindiu201D in portal content translation.Now i want to configure  language options in userprofile.
    These are the procedures I have followed
    1 .On the file server navigate to
    <Installation-drive>:usrsap<SID><Instance_ID>SDM
    ootoriginsap.com com.sap.security.core.adminSAP AG<version_number>com.sap.security.core.admin.630.ear
    From here extract the com.sap.security.core.useradmin.war.
    2.In com.sap.security.core.useradmin.war file and add u201C hi = Hindi u201C in Language_en.properties
    3.Create a copy of Language_en.properties, and save as Language_hi.properties at any location.
    Now we have to do some changes with the help of configtool.bat
    So start the tool by executing.
    <SAPJ2EEEngine_installation>j2eeconfigtoolconfigtool.bat>
    Now Switch to configure mode.
    In the Tree navigate to cluster_data>>persistant>>com.sap.security.core.ume.services.
    Now switch between view and edit mode and choose yes.
    4.By right clicking on com.security.core.ume.service create a Sub node. And choose
    File-entry and upload the language_hi.properties that you have created in previous step.
    5.Create and Close the Window. And just restart all cluster nodes
                            After the above configuration, the language u201Chindiu201D is added and I can able to see the language  in self registration Language options.but it is not displayed in userprofile language options.
                            how to configure this Please help  me.            
                        These are the threads I have referred
                          How to add Hindi language in Portal
                          Regards: Add a new language (Hindi} In portal
                          How to add new language in portal
    Regards
    Bala

    Dear Markus,
    1.)  import done in SMLT
    2.)  support package parts of the languages imported
    3.)  language substituted
    4.) client refill done
    I have done 1 & 2 and also client maintenance.
    I'm not sure what are 3 & 4. Can elaborate further ?
    Thanks.
    Regards,
    Kent

  • QM error "The user profile service service failed the logon. No more threads can be created in the system."

    Hi,
    I've a client running QM 8.x. QM is working and all recordings are present, it's just that when logging into the server, following error mesasge is displayed:
    The user profile service service failed the logon.
    No more threads can be created  in the system.
    Any suggestions on this issue will be greatly appreciated.
    thanks,
    Kapil

    Hi,
    Thanks for your post.
    Please check event viewer if there are some error logs?
    Meanwhile, there is a similar thread has been discussed:
    Receiving error about "no more threads"
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/9a9e22e4-d947-4d19-b06c-aaadda624dbc/receiving-error-about-no-more-threads?forum=winservergen
    Regards.
    Vivian Wang

  • Migration Assistant showing 0.0kb User Profiles

    Hi all,
    My iMac hard drive recently died, but I have been backing it up to Time Machine to a backup disk, so I'm trying to migrate my user account to my friend's MacBook. However, Migration Assistant keeps displaying these user profiles as having 0.0kb. Why is this? It seems to just hang when I attempt to migrate data. Also, how would I go about migrating just the settings and permissions of the profile, and keeping the rest of the data on the drive?
    Thank you for any help
    Aaron

    Welcome to Apple Discussions!
    Was your iMac PowerPC or Intel?

  • Project Server 2010 - Updated User Profile - Display Name is Old Name

    Similar to question"It shows the Domain\Logon account instead the User Name (up right corner)" but not quite the same. I also checked on the related topics list and could not find a solution.
    We have a Resource in Project Server 2010 whose name changed. This included a change to her loginID as well as her email address. I went in to PWA > Server Settings > Security > Manage Users and changed the
    Name, Email Address, and User Login Account fields accordingly. When the user goes into Project Server or any of the Project Sites, her old User Name is reflected. If she accesses any other SharePoint site (not associated with Project Server) her
    new name shows up in the upper right hand corner of the screen.
    We do not have AD Synchronization turned on.
    How can we edit the name that appears in the upper right corner of the screen?

    Hi,
    Use Display name shown on right hand site is not from PWA, its from SharePoint User profile. When we make change to user display name, sometime SharePoint Still retain the old account and also add new account. To fix the issue we have to remove the user
    profile from PWA root site.
    Open PWA and navigate to following path
    Site Actions>>Site Settings>>People and Groups
    Click on More from left hand site list of groups
    Select appropriate group,   belongs to the user
    Select the user and from Actions tab remove the user. (you may see two entries old and new), Either you can delete both or click on each account to validate correct user ID.
    Once again navigate to PWA>>Server Settings>>Manage User
    Edit affected user and click on Save
    Have user log on to PWA and validate the result.
    Hrishi Deshpande – Senior Consultant DeltaBahn
    Blog | < |
    LinkedIn
    Please click Mark As Answer; if a post solves your problem or Vote As Helpful; if a post has been useful to you.This can be beneficial to other community members reading the thread.

  • How to display user profile information in master page header

    I am trying to display user profile info like following in custom master page.
    I have just added a html code for displaying this info.
    Now, please tell me how could i achieve this
    I am doing this in sharepoint 2013 on-premise.

    see below is example for javascript and userprofile information
    <script type="text/javascript">//<![CDATA[
    $(document).ready(function
    var currentUser;
    // Ensure that the SP.js is loaded
    if (SP.ClientContext
    != null)
    SP.SOD.executeOrDelayUntilScriptLoaded(getCurrentUser,
    'SP.js');
    else
    SP.SOD.executeFunc('sp.js',
    null, getCurrentUser);
    function getCurrentUser()
    var context = new SP.ClientContext.get_current();
    var web = context.get_web();
    currentUser = web.get_currentUser();
    context.load(currentUser);
    context.executeQueryAsync(onSuccessMethod, onRequestFail);
    function onSuccessMethod(sender, args)
    var account = currentUser.get_title();
    var currentUserAccount = account.substring(account.indexOf("|")
    + 1);
    var currentUserAccountUnderScore = currentUserAccount.toLowerCase().replace(/\s/g,
    //alert(currentUserAccount);
    $("#username").text(currentUserAccount);
    $("#ProfileImage").attr("src",
    "https://mydomain-my.sharepoint.com/User%20Photos/Profile%20Pictures/"
    + currentUserAccountUnderScore +
    "_mydomain_onmicrosoft_com_MThumb.jpg");
    $("#ProfileImage").attr("alt", currentUserAccount
    + " User Profile Image");
    $("#ProfileImage").attr("class",
    "ss-profile-image");
    //This function runs if the executeQueryAsync call fails.
    function onRequestFail(sender, args)
    alert('request failed' + args.get_message()
    + '\n' + args.get_stackTrace());
    $("#ProfileImage").attr("src",
    "https://mydomain.sharepoint.com/SiteAssets/userImageDefault.jpg");
    //]]>
    </script>
    -Nilesh

  • Stack overflow user profile doesn't display correctly

    The page of Stack overflow user profile is wrongly displayed, blank space on top of page and some info is hidden.

    I see what you mean. It appears that the drop-down which says "Summary" is pushing that block of content off to the right (sometimes you can see a sliver of it at the right edge of the page). That problem doesn't occur in the stock Android (2.3.4) browser.
    If I use a Fennec useragent string in the User Agent Switcher extension, I can replicate the problem on a desktop browser (''Firefox 13 beta 4''). The drop-down is floated within a container that uses 100% of the width of the screen. The next element floats up alongside the &lt;select> rather than dropping down beneath it because that next element doesn't have a specified width or minimum width.
    StackOverflow can solve this problem by editing its CSS to include a clearing rule:
    <br>.inner-wrap {
    padding: 5px;
    overflow: auto;
    '''clear: left;'''
    However, as end users, I don't know whether there is anything we can do.
    This problem has appeared in sites for years, and it seems unlikely that Firefox will change the way it handles floats to work around developers who forget to clear them. (Guessing as to what the developer must have wanted was something that IE did for years, but I think even Microsoft is starting to require developers to pay closer attention.)

  • Display thumbnail view of user profile photo in UIview

    I am developing an application where i have to access user profile data from server in XML format, which contains user profile image url also. My problem is that i have to display the photos in a grid like format on the view controller (eg 4 images in a column and 5 rows i.e 20 images) and when a user clicks on the photo he will be displayed with next screen containing profile detail information. Well I am new, please help.

    canitnow wrote:
    >
    >
    > Is there anyway to display a Flash Library in a
    thumbnail view?
    > thanks
    No there is no such option.
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Display error message on the user profile modification page identity system

    HI All,
    I have created a workflow for chang attribute for email id. I have associated an external action to th workflow id which will check the emailid uniqueness in OID.
    When an end user login to OAM user manager and clicks on update my profile, use can see a button with modify request beside email id. when user modifies email id and save the changes, we are able to display email id already exist message in the next page of user profile. but we need to display the message on the same page.
    Can any one help us.
    Thanks in Advance.

    You can do this using java script throwing an alert popup or you can check if the fields are initial in oninputprocessing and fill a variable like gv_error = 'Enter values of mandatory fields.' and display the same in layout using
    <phtmlb:messageBar id = "messageBar"
    type = "<%= gv_severity_str %>"
    text = "error"/>
    See this thread for more..
    How to display error messages in bsp page
    search the forum before posting a new thread....

  • User Profile Synchronization not displaying Title field correctly

    Hello,
    I've an issue with User Profile Synchronization (SP 2010). The Title field is displaying correctly for most of the users but still there are few user for them the Title field is blank. However in "User Information List" it displays the Title field
    properly for those users. But in Central Administration when I check the User Profiles it's blank.I have already run Full Profile Synchronization few times in Central Administrations. Every time it's shows as successful but still no luck, still the Title field
    is blank for some profiles.
    Can anybody help on this? Thanks in advance.

    Hi ,
    Firstly , I need to verify the followings:
    Whether the title field of user information list is changed if you type a value in user profile page and perform full sync.
    Whether you have upgraded to SharePoint 2010.
    If you have upgraded to SharePoint 2010, you need to make sure the user information list is mapped or connected to AD directly. More information, please refer to the post below:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/926abf50-83a0-4e9c-a4cb-4848fcf4f88d/sharepoint-2010-userprofile-title-field-empty?forum=sharepointgeneralprevious
    If this issue still exists, please create a new User Profile Services Application, and compare the result.
    Here are some similar posts for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/0b9b5747-80b2-4a2e-8e8e-c918bc9d6cbd/user-profile-synchronization-not-working-correctly?forum=sharepointadmin
    http://blog-sharepoint.blogspot.in/2010/08/user-information-list-not-synchronised.html
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • CQWP-Display User Profile Picture

    <xsl:stylesheet version="1.0" exclude-result-prefixes="x d xsl msxsl cmswrt" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" xmlns:cmswrt="http://schemas.microsoft.com/WebParts/v3/Publishing/runtime" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt">
    <xsl:template name="Default" match="*" mode="itemstyle">
    <xsl:variable name="SafeLinkUrl">
    <xsl:call-template name="OuterTemplate.GetSafeLink">
    <xsl:with-param name="UrlColumnName" select="'LinkUrl'" /></xsl:call-template>
    </xsl:variable>
    <xsl:variable name="SafeImageUrl">
    <xsl:call-template name="OuterTemplate.GetSafeStaticUrl">
    <xsl:with-param name="UrlColumnName" select="'ImageUrl'" /></xsl:call-template>
    </xsl:variable>
    <xsl:variable name="DisplayTitle">
    <xsl:call-template name="OuterTemplate.GetTitle">
    <xsl:with-param name="Title" select="@Title" />
    <xsl:with-param name="UrlColumnName" select="'LinkUrl'" /></xsl:call-template>
    </xsl:variable>
    <xsl:variable name="LinkTarget">
    <xsl:if test="@OpenInNewWindow = 'True'">_blank</xsl:if>
    </xsl:variable>
    <xsl:variable name="TypeImage">
    <xsl:choose>
    <xsl:when test="@BulletinType = 'Staff Social'"><xsl:value-of select="string('staff.jpg')"/></xsl:when>
    <xsl:when test="@BulletinType = 'EHR'"><xsl:value-of select="string('EHR.jpg')"/></xsl:when>
    <xsl:when test="@BulletinType = 'Arts and Cultural Events'"><xsl:value-of select="@Author"/></xsl:when>
    <xsl:when test="@BulletinType = 'Library Events'"><xsl:value-of select="string('Library.jpg')"/></xsl:when>
    <xsl:when test="@BulletinType = 'For Sale / Rent'"><xsl:value-of select="string('trade.jpg')"/></xsl:when>
    <xsl:when test="@BulletinType = 'Staff Movement'"><xsl:value-of select="string('movments.jpg')"/></xsl:when>
    <xsl:when test="@BulletinType = 'Social Club'"><xsl:value-of select="string('SoCial-CLUb.jpg')"/></xsl:when>
    <xsl:when test="@BulletinType = 'Equal Opportunity'"><xsl:value-of select="string('EO.gif')"/></xsl:when>
    <xsl:when test="@BulletinType = 'Union'"><xsl:value-of select="string('union.gif')"/></xsl:when>
    <xsl:when test="@BulletinType = 'Occupational Health and Safety'"><xsl:value-of select="string('OHS.gif')"/></xsl:when>
    <xsl:when test="@BulletinType = 'Environment'"><xsl:value-of select="string('Environment.gif')"/></xsl:when>
    <xsl:when test="@BulletinType = 'Other'"><xsl:value-of select="string('Other.jpg')"/></xsl:when>
    <xsl:when test="@BulletinType = 'IS'"><xsl:value-of select="string('IS.png')"/></xsl:when>
    </xsl:choose>
    </xsl:variable>
    <xsl:variable name="StrippedBody">
    <xsl:call-template name="removeHtmlTags">
    <xsl:with-param name="html" select="@Body"/>
    </xsl:call-template>
    </xsl:variable>
    <div id="linkitem" class="item">
    <div class="link-item" style="padding-left: 20px; padding-right: 20px; cursor: pointer;" onclick="javascript: location.href = '{$SafeLinkUrl}'">
    <xsl:call-template name="OuterTemplate.CallPresenceStatusIconTemplate" />
    <img src="/mysite/User%20Photos/Profile%20Pictures/{$TypeImage}" height="30" align="right" border="0" alt="{@BulletinType}"/>
    <a href="{$SafeLinkUrl}" target="{$LinkTarget}" title="{@LinkToolTip}"><xsl:value-of select="$DisplayTitle" /></a>
    <div class="description">
    <xsl:call-template name="shortenText">
    <xsl:with-param name="text" select="$StrippedBody" />
    <xsl:with-param name="length" select="200" />
    </xsl:call-template>
    </div>
    </div>
    </div>
    </xsl:template>
    <xsl:template name="removeHtmlTags">
    <xsl:param name="html"/>
    <xsl:choose>
    <xsl:when test="contains($html, '&lt;')">
    <xsl:value-of select="substring-before($html, '&lt;')"/>
    <xsl:call-template name="removeHtmlTags">
    <xsl:with-param name="html" select="substring-after($html, '&gt;')"/>
    </xsl:call-template>
    </xsl:when>
    <xsl:otherwise>
    <xsl:value-of select="$html"/>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    <xsl:template name="shortenText">
    <xsl:param name="text"/>
    <xsl:param name="length"/>
    <xsl:choose>
    <xsl:when test="string-length($text) &gt; $length"><xsl:value-of select="concat(substring($text, 0, $length), substring-before(substring($text, $length), ' '), ' ...')" disable-output-escaping="yes" /></xsl:when>
    <xsl:otherwise><xsl:value-of select="$text" disable-output-escaping="yes" /></xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    </xsl:stylesheet>
    Hi
    I have to Display Author's Profile picture (One who Added the Item). Below is my code which automatically selects the Type of Notice but i want to modify it so that it displays the Profile Picture of the Author. Can you guys help me?
    Thanks
    Abhi

    Hi,
    I am able to show Authors profile picture using workflow.
    Regards
    Abhi

  • 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!

  • Firefox is only displaying one of the two user profiles on my computer

    I just added my husband onto my computer by creating a user profile for him. It seemed fine at first, but then it disappeared.After researching the problem I think what probably happened was that I forgot to uncheck the "Don't ask at start up" box in the Firefox-choose user profile box. How can I get back to this box and uncheck it? I can't find it.

    Create a desktop shortcut with -P "profile" appended to the target to launch each user with its own profile.
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • Displayed data in User Details vs. Information entered in User Profile

    Hello All,
    I am running Portal 7.0 SPS13.
    In my Users Profile tab "Additional Information" I entered:
    Organizational Unit:  NIS
    Position: Consultant
    Department:  <is greyed-out / not editable>
    In my Users Details tab "Company" I only see:
    Job Title: Consultant
    My Questions are:
    1) Why do I only see the Information from "Position"
    2) The greyed out field "Department" is not filled (I guess at this point that it gets filled with the department information from the MS ADS (LDAP). But it's not.  Whoever the telephone information from the MS ADS is transferred to the regarding UME fields
    Thank you in advance for your help and hints.
    Kind regards,
    Philipp

    Hi Neeraj,
    i have already configured as below_
    User Details Data Source
              Target Connector =ECC system
               Sequence=1
               user Data Type=HR
    Regards,
    Arif

  • Domain User profile displays special character "?" in command prompt.

    HI All,
    In our organization, there is one domain user in his profile it shows special character "?". which is stoping JAVA application to Run.
    When you see it in windows explorer, c:\users\username. I am not able to see any special character.
    But when i am login to command prompt and check it shows c:\users\username?> Here at the end of the user name i am seeing "?". Which is giving problem to run JAVA application. I checked user profile ( Firstname, lastname , givenname)
    and there i couldnot able to see any space or special character. The only thing i can see in adsiedit user properties in "TextEncodedORAddress" attribute it shows 
    C=US;A= ;P=abc;O=Exchange;S=User?;G=xyz;I=M; 
    When i check this properties i can see the same in exchange user properties in X400 address. 
    I try to edit and remove the  ? but again it is creating new address with removing ? but reply as it shows with the user name with special character. As i dont know from where it is getting the special character.
    Any help for this will be appreciated... 
    Thanks & Regards,

    check out this link, it might help:
    Moving and Renaming User Accounts
     https://technet.microsoft.com/en-us/library/ee198798.aspx
    example from link above:
    Listing 7.19 Renaming a User Account Within the Same OU
    1
    2
    3
    4
    Set objOU = GetObject("LDAP://ou=Sales,dc=NA,dc=fabrikam,dc=com")
    objOU.MoveHere _
    "LDAP://cn=BarrAdam,ou=Sales,dc=NA,dc=fabrikam,dc=com", "cn=LewJudy"
    Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    IT Stuff Quick Bytes

Maybe you are looking for

  • CRM tables for service

    Hi All , I am in a project to perform "SHARED SERVICE CENTER" a report to generate Average age of service requests .So I need to know the respective tables in CRM to built an extractor .So can any one help me in getting the tables relared to service

  • Since Firefox 9, pasting content from word or open office in editors like tinymce or ckeditor loses formatting. Why? Thanks.

    Try pasting formatted content, i.e. from libre office, here: [http://www.tinymce.com/tryit/full.php tinymce demo] http://www.tinymce.com/tryit/full.php or here: [http://ckeditor.com/demo ckeditor] [[http://ckeditor.com/demo|ckeditor]]. Since '''Firef

  • Mac Mini Flashing Question Mark

    I'm trying to help a friend troubleshoot his Mac Mini.  Based on the model number (A1103) it appears to be a late-2005.  I've tried the following: Unplug keyboard and mouse & boot:  still boots to flashing question mark Option boot to try to get to s

  • Infotype for salary According to working Days

    Helloo Experts, Please tell me Is there any Infortype where i can see salary of an Employee according to current month working Days, Suppose i want to see the salary of ABC employee today Where Working Days are only 15 days from 1st Dec to 18 Dec, Ca

  • 000 client creation

    hi please help me how to create 000 client for CIN purpose give tansaction codes and details to create 000 Client for cin purpose thanx