Getting login names of the users.

Hi,
Does anybody have an idea of getting login names of the user present in the plumtree.

IPortletContext edk = PortletContextFactory.CreatePortletContext(Request, Response);
IPortletUser IUser = edk.GetUser();
userName = IUser.GetUserName();

Similar Messages

  • Report that gets full name from the users id in the computer name

    I don't even know if this is possible, but I am finding that quite often of late I am needing to get the users full name from the computer name.
    We have a standard where a computer name is in this format XXXXXXXUSERID.
    Is there a way to get the Full name from the USERID that is in the computername (not last logged on user).
    I am fairly sure that I might be able to work it out in SQLSMS but I really need it on the web reports form SCCM.
    If anyone has any ideas please let me know.

    Thanks, I want to add it to most my reports but this is the main one that I am using right now due to an audit. 
    SELECT DISTINCT
    CS.Name0 AS 'Computer Name', CS.Domain0 AS 'Domain', CS.UserName0 AS 'User', BIOS.SerialNumber0 AS 'Bios serial',
    SE.SerialNumber0 AS 'System Enclosure serial', CS.Manufacturer0 AS 'Manufacturer', CS.Model0 AS 'model', OS.Caption0 AS 'OS',
    RAA.SMS_Assigned_Sites0 AS 'Site', RAM.TotalPhysicalMemory0 AS 'Total Memory', SUM(ISNULL(LDisk.Size0, '0')) AS 'Hardrive Size',
    SUM(ISNULL(LDisk.FreeSpace0, '0')) AS 'Free Space', CPU.Name0 AS [CPU Name]
    FROM dbo.v_GS_COMPUTER_SYSTEM AS CS RIGHT OUTER JOIN
    dbo.v_GS_PC_BIOS AS BIOS ON BIOS.ResourceID = CS.ResourceID RIGHT OUTER JOIN
    dbo.v_GS_SYSTEM AS SYS ON SYS.ResourceID = CS.ResourceID RIGHT OUTER JOIN
    dbo.v_GS_OPERATING_SYSTEM AS OS ON OS.ResourceID = CS.ResourceID RIGHT OUTER JOIN
    dbo.v_RA_System_SMSAssignedSites AS RAA ON RAA.ResourceID = CS.ResourceID RIGHT OUTER JOIN
    dbo.v_GS_X86_PC_MEMORY AS RAM ON RAM.ResourceID = CS.ResourceID RIGHT OUTER JOIN
    dbo.v_GS_LOGICAL_DISK AS LDisk ON LDisk.ResourceID = CS.ResourceID RIGHT OUTER JOIN
    dbo.v_GS_PROCESSOR AS CPU ON CPU.ResourceID = CS.ResourceID RIGHT OUTER JOIN
    dbo.v_GS_SYSTEM_ENCLOSURE AS SE ON SE.ResourceID = CS.ResourceID
    WHERE (LDisk.DriveType0 = 3)
    GROUP BY CS.Name0, CS.Domain0, CS.UserName0, BIOS.SerialNumber0, SE.SerialNumber0, CS.Manufacturer0, CS.Model0, OS.Caption0, RAA.SMS_Assigned_Sites0,
    RAM.TotalPhysicalMemory0, CPU.Name0
    What I really want to do is add another column called owner that just has the UID in it, I will then try to pull the users full name into another column.. hopefully I am not biting off more then I can chew with this but i have thousands of records and i
    will be forced to export to excel or something then look up all the names if I can't do this...

  • Firefox does not remembe the login name for the user login name on secure sites.

    My user got a new computer and I installed the latest version of firefox. It no longer remembers user names on secure sites and the employee does not like the fact that she has to type in her user name every time she needs to log into the site. The browser is set to automatically save user names and passwords.

    Please first update your plugins, Flash has a new version.
    Does this happen in Safe Mode?
    *[[Troubleshoot Firefox issues using Safe Mode]]
    First troubleshooting steps are:
    *[[Control whether Firefox automatically fills in forms]]
    It is also possible to check the saved passwords to make sure that the information is saved. On an https site that does not autofill the information for logging in , the username is blank. I removed the entry by right cicking on the page, selecting "Page Info" and under "Security" viewing the saved passwords.

  • Never had trouble before with my incoming mail but just now I get a messege saying the user name or password for verizon is incorrect on my iPad but is fine on my home computer what's wrong with my ipad

    Never had trouble before with my incoming mail but just now getting messege that says the user name or password for verizon is incorrect yet my home computer is fine only have this od my iPad

    I experienced same problem tonight and called Verizon technical support and they walked me through the settings on iPad. Took about 5 minutes. Basically it involved changing incoming.verizon.net to pop.verizon.net and changing outgoing.verizon.net to smtp.verizon.net. But it's worth the call to ensure other settings are OK. Evidently, change at Verizon was effective today!

  • Possible to get the name of the user filling in the pdf?

    is there a way to get the name (or user name or network name) of the user who is filling out the pdf?   We'd like to incorporate their initials in the file path for saving the document.

    Only if you install a script on the local machines of each of the users
    using the file.

  • How to get last login date of the user

    Hi,
    I have an application where i need the last login date of the user and if the differance between the last login date and the system date is greater than a certain range the user account should be locked automatically.Please suggest me how resolve the problem as early as possible.
    Thanks and Regards
    Aniruddha

    Hi,
    We have faced the same issue earlier. Some attributes are available in SAP API, but they are depricated by sap due to some performance issue.
    Below solution will be helpful:
    So we have implmented custom code in our application. We have developed one webdynpro application which will retrieve update & retrieve logon time from portal database(custom table). And we have integrated this application in desktop inner page. So this application will be invisible to the user and will executed first time when user logs into the portal.
    Regards,
    Charan

  • How can i get my name on the finder bar?

    How do i get my name on the top right corner next to the search bar? I have OS X Mountain Lion 10.8.5

    System Preferences > Users & Groups
    Click the lock to unlock it, if you have to.
    Click "Login Options".
    Enable " Show fast user switching menu as" and select "Full Name".
    Best.

  • How can I keep the name of the user around for each JSP without asking user

    I have a number of JSP pages that I give the user access to once they login successfully. I want to be able to keep the name of the user present on every page without having to ask them for it each time.
    How can I do this? Currently I have a user object that is access through use of a request bean in my JSP's.
    Any suggestions???

    Thanks for the help. A few questions though...
    Can you just clarify how the 2 different SessionTest2.jsp's differ. I am right in thinking that the second one will instantiate a new bean object which if I do every time I go to the page, I will be getting the same name but in a different session each time. In the first SessionTest.jsp, I get the same name but from the same session object each time??
    Please clarify???
    SessionTest1.jsp
    <%@ page language="java" import="test.*" %>
    <jsp:useBean id="testBean" scope="session"
    class="test.TestBean" />
    <jsp:setProperty name="testBean" property="name"
    value="ZZZZZ" />
    <jsp:setProperty name="testBean" property="status"
    value="Married" />
    <%
         response.sendRedirect("SessionTest2.jsp");
         return;
    %>
    SessionTest2.jsp
    <%@ page import="test.*" %>
    <jsp:useBean id="testBean" scope="session"
    class="test.TestBean" />
    <%
    out.println("User Name is : "+testBean.getName());
    %>or SessionTest2.jsp
    <%@ page import="test.*" %>
    <jsp:useBean id="testBean" scope="session"
    class="test.TestBean" />
    <%
    TestBean testBean =
    (TestBean)session.getAttribute("testBean");
         out.println("Name is : "+testBean.getName());
    %>Hope this helps.
    Sudha

  • Postfix/sendmail fatal: no login name found for user ID

    We have a xserve setup to host our rails application, but we can't get it to send any emails. Prior to the leopard upgrade it was sending them fine. The mail service is started and running, the settings are basically the default with the hostname and domain name changed, but in the logs we keep getting:
    postfix/sendmail[48887]: fatal: no login name found for user ID 501
    Ideas?
    Thanks,
    Steve

    A reboot of the system fixes the problem for a few hours but does not solve the issue. I guess I could reboot the machine every couple hours but that sounds more like a m$ solution...
    Does anyone think a rebuild of the OD data might help?

  • How to get domain name for the userId?

    There is a generic way to get userID
    System.getProperty( "user.name" ).
    In case of windows it's a name you login in.
    Is any way in Java to figure out domain name of that particular user by Java code?
    Igor

    You can dojava.net.InetAddress.getLocalHost().getHostName()to get the name of the computer. But this will not give you the "domain name of the user". In Windows, for example, when I sign on to my computer, that user name only means something to my computer. There's no "domain", in the Internet sense, involved.

  • Fatal: no login name found for user ID

    I have this problem from time to time, when it happens every app running on the box is screwed and I have to reboot. There is a user ID 502, and it start working again immediately after reboot. Any suggestions?
    Nov 18 09:44:31 hostname postfix/sendmail[75305]: fatal: no login name found for user ID 502
    Nov 18 09:44:31 hostname postfix/sendmail[75310]: fatal: no login name found for user ID 502
    Nov 18 09:44:31 hostname postfix/sendmail[75315]: fatal: no login name found for user ID 502
    Nov 18 09:44:31 hostname postfix/sendmail[75320]: fatal: no login name found for user ID 502

    A reboot of the system fixes the problem for a few hours but does not solve the issue. I guess I could reboot the machine every couple hours but that sounds more like a m$ solution...
    Does anyone think a rebuild of the OD data might help?

  • Stuck at BEA-090065 getting boot identity from the user

    Hi,
    We are trying to re-start the Weblogic Admin Server via cmd but it is not prompting for user id and password and it is getting stuck/stops at BEA-090065 "getting boot identity from the user".
    However, it was working initially.
    Please assist to resolve this issue

    Hi ,
    Please check if there is any file with the name "boot.properties" located under the domain directory . If so,
    take a backup of that file and replace the username and password with clear text (it will be in encrypted format) save the file and try to start the Admin server.
    Thanks,
    Sharmela

  • How to change the Default login script and the USER login script in Netware3.12

    I need to cut down the disk map from Neware 3.12 in Win98 client's PC.
    please tell me
    how to change the Default login script and the USER login script in
    Netware3.12 ?
    Or is there any other ways to do this thing?
    Thanks a lot!

    On 4/6/2006 [email protected] wrote:
    > how to change the Default login script and the USER login script in
    > Netware3.12 ?
    Please repost in the discontinued.forums.
    Edison Ortiz
    Novell Product Support Forum SysOp
    (No Email Support, Thanks !)

  • Any Function module or BAPIs are available to get scheme name for the inter

    I have internal order no value in table  AUFK-AUFNR ,  and the internal order corresponding Scheme value is available in IMPR-PRNAM . Now I want to inner join both the tables to extract the data , but there is no common field . Is there any Function module or BAPIs are available to get scheme name for the internal orders?

    look at DB-VIEW  "V_IVP_OR".
    Regards,
    Laurent

  • How can i set a column which would show me the name of the user

    how can i write a trigger which would show me the name of the user now make changes in the table.

    872959 wrote:
    how can i write a trigger which would show me the name of the user now make changes in the table.I think what sb is trying to say is: if you mean the database user, you can use the USER session variable to identify the database user:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions227.htm#SQLRF06156
    you would write a before each row trigger to update an "updated_by" column on your table to be USER.
    e.g.:
    :new.updated_by := USER;

Maybe you are looking for

  • Is there anyway to downgrade or reset my iphone 4s from 5.1 to 5.0.1 because of constant errors

    Does anyone know how to downgrade a iphone 4s from 5.1 to 5.0.1 on 5.0.1 i had a much better safari connection and my phone didnt just shut off randomly as soon as I updated to 5.1  my phone just restarts, I dont know why and I would like to go back

  • Problems downloading files for Oracle 8.1.7 for Linux

    So that we may better diagnose DOWNLOAD problems, please provide the following information. - Server name download.oracle.com - Filename otn/linux/oracle8/linux81701.tar - Date/Time 21 Feb 2002 11 pm - Browser + Version IE 5.50.4134.0600CO - O/S + Ve

  • Is this true about installation disks??

    Is it true that certian OS cd's can only be loaded onto certain Mac's? Ex. Like a installation disk from a emac wont work on a powermac? What do the codes on the disks mean when it says "disk 1" and "disk 2" etc? I aquired a 2002 powermac G4 quicksil

  • BP Ref Nbr in Incoming Payments

    whenever my users are trying to create an incoming payment, we want the Doc Nbr to be shown at all times. But for some reason they are able to see only the BP Ref Nbr in the incoming payment grid. Although we go to Form settings and check OFF the BP

  • Packaging(Multi-level)

    Dear Sir or Madam: This is a fundamental requirement needed by us. I am running SAP Business One version 2005 Patch Level 39 When we do the delivery of a particular consignment we right click the delivery and choose the packaging option. On the packa