locked
GetUserProfileByName - LoginName? RRS feed

  • Question

  • Hi,

    i use the GetUserProfileByName-Webservice to get Display-Names of some People. I use this Filter for that:

    Values[Name = "PreferredName"]

    Is there any possibility to modify the webservice-datafields to get the LoginName of the current User furthermore?

    Wednesday, September 12, 2012 8:06 AM

Answers

  • Do you mean you want to get their login username?  If so you would just use the following filter:

    Values[Name = "UserName"]

    Wednesday, September 12, 2012 1:21 PM
  • Hi,

    Here is list of some common properties, which you can get through this service and use them based on your requirement.

    UserProfile_GUID
    AccountName
    FirstName
    LastName
    PreferredName
    WorkPhone
    Office
    Department
    Title
    Manager
    AboutMe
    PictureURL
    UserName
    WorkEmail
    CellPhone
    Fax
    HomePhone
    Hope it could help

    Cheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"

    Wednesday, September 12, 2012 1:46 PM
    Moderator

All replies

  • Do you mean you want to get their login username?  If so you would just use the following filter:

    Values[Name = "UserName"]

    Wednesday, September 12, 2012 1:21 PM
  • Hi,

    Here is list of some common properties, which you can get through this service and use them based on your requirement.

    UserProfile_GUID
    AccountName
    FirstName
    LastName
    PreferredName
    WorkPhone
    Office
    Department
    Title
    Manager
    AboutMe
    PictureURL
    UserName
    WorkEmail
    CellPhone
    Fax
    HomePhone
    Hope it could help

    Cheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"

    Wednesday, September 12, 2012 1:46 PM
    Moderator