Getting the domain name of the Client PC using WebUtil

Hi Guys,
Is there a way I can find the domain name of the computer running the forms using webutil.
I use WEBUTIL_CLIENTINFO.GET_HOST_NAME to get the client computer name. I would also need the domain name.
Thanks!
Anand

Try this:
message(CLIENT_WIN_API_ENVIRONMENT.GET_ENVIRONMENT_STRING('USERDOMAIN'));I believe if no domain is defined, it will return the host name. Also, this obviously will only work on Windows clients.

Similar Messages

  • How to get the domain name from the System

    I need to get the domain name from the system in JDK 1.1.8
    Any Ideas?

    InetAddress.getLocalHost().getHostName() will get you the name of the computer the code is executed on. If that isn't the "domain name" then perhaps you could give more detail about what "domain" you are trying to find the name of.

  • The publishing settings page does not open when I click on the domain name and the iWeb application will not stay on the dock.

    Hello,
    I have been trying to help a friend who is having problems publishing her website. (She has done so previously using Mobile me)
    There seem to be a couple of things wrong with the application,
    1     if I drag the application icon onto the dock, it won't stay there
    2     I wanted to change where her site is published to (she has bought a domain name and has a hosting service now) but when I click on the domain name I do not get the "site publishing settings page" so we can't enter the new details.  All that comes up is the main page of her website.
    I would suggest uninstalling and re-installing Iweb, to see if that clears the problem, but as Iweb came pre-installed with her Imac, I am not sure that we can do this.
    Any ideas please?
    she's using and imac 24 in (approx 4 years old) and running osx 10.5.8

    NO - not correct.  Even if you are still using iWeb 08, you can still publish to another host and not MobileMe.  You do this by selecting the option 'Publish to a local folder" and this will publish the site to your desktop and you can then use an ftp programme such as Cyberduck to upload your site to your host.
    MobileMe will not be here after the end of June, so you will have to find alternative hosting.  They are not taking any new subscriptions.
    On new Macs, iLife 11 is pre-installed, but only iPhoto, iMovie and GarageBand are included, not iWeb and iDVD. The Apple Online store is not selling the boxed version of iLife 11 any longer, so if you want to upgrade to iLife, then you'll have to look online at Amazon.com or Amazon.co.uk for a boxed set of either iLife 09 or iLife 11.  Both contains iWeb 09, which is what you would want.

  • I need to know the domain names of the update servers so I can exclude them from outgoing content filtering appliances at my site

    We use a Bluecoat device that must be authenticated on a time schedule, before a user can browse off site. This breaks the updater on Firefox if the end user has not yet authenticated.
    I can add the Firefox update servers or domains to an exclusion list so the Bluecoat will not interfere. I need to know those names.
    I did some network sniffing and noticed aus2-mozilla-org.geo.mozilla.com but I assume there are more.

    Maybe it would be easier to setup a local update server.<br />
    See https://developer.mozilla.org/en/Setting_up_an_update_server

  • How do I get IE to drop the domain name from authentication responses

    All,
    I have a number of internal www servers that run various non MS operating systems which are not tied to the windows domain in any way. They are secure www sites and require authentication.
    When I connect to one via IE on a domain joined workstation or server (ie 8 & 9) I am unable to authenticate because I can not remove the domain name from the authentication credentials that IE is passing back to the www server.  I get an authentication
    prompt for user name & password with the domain pre populated.
    How the heck to I get IE to NOT pass the domain name as part of the authentication process. I've tried putting .\ in front of the user name but to no avail.
    Thanks,
    Steve D.

    As you can see below, when you first attempt the auth it defaults to you domain user account... in this case win\username.
    When you select use another account, you get the following with no means to remove the domain name which causes auth failure as this www server isn't a domain member and doesn't use the domain for auth.
    How do I get rid of Domain: .... ???
    Thanks,
    Steve D.

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

  • Domain name from the configuerd mail server

    HI,
    How to get the domain name from the mail server that i configure using java Mail..
    Properties props = new Properties();
    props.put("mail.smtp.host", mailServer);
    mailServer has my mailServer name like email.something.com
    in my application, from address is the one user sets.. if they forgot to set it and tries to send a mail then i need to send that mail with a default address like [email protected] where something.com must be the domain name.. so i juz want to know how to get the domain name.?
    hope it is clear. can any of u help me out?

    There's no well-defined way to do this. The
    simplest approach is to offer this as a configuration
    option.
    A more complicated approach would be to use
    the host name of the mail server and look up
    that name in DNS and try to find the DNS record
    that tells which mail server to use for that host
    name, perhaps stripping off elements of the name
    until you find something. (And no, I can't explain
    to you exactly how to do that.)

  • How to change the Domain name of portal

    Hi All,
    We've developed an application using the WDA(Web Dynpro for ABAP) on BI 7.0 and in this we are displaying the BI reports as well. This whole appliaction works fine when we run this on the BI portal 7.0. But when we run it from the Enterprise Portal 6.0
    the reports don't show up and it goes in the never ending loop. After research we found that this is happening because the
    Domain names of the BI portal and the Enterprise Portal are not the same. And as per one of the SAP note the prerequisite for the WDA application to run on the EP portal is to have the same domain name on both the portals.
    Now we are planning to change the domain name on the BI portal.
    Does anyone let me know how and where we need to go and change this Domain name ?
    Thanks in advance for your help.
    Regards,
    Alok Varma

    Hi,
    first step is to configure your DNS server. There has to be a name resolution for portal.domain.tld to your portal server's IP address.
    Right now I don't have access to Visual Administrator, so I cannot check if there is any domain specific configation to be done on the server side.
    As for the SSO between your Portal and WDA: you'll have to recreate the portal server certificates and import it into the ABAP system.
    The Logon Ticket MYSAPSSO2 has to be issued to the new domain by the portal! If not, your browser won't sent this cookie to the BI system and no SSO data will be transmitted to the BI system.
    br,
    Tobias

  • Need to see the domain name displayed at the admin console login page

    I used to see the domain name at the console login page until I was running WLS 8.1 SP3.
    Now that I have SP5 I am not able to see it anymore, I am curious to know what has caused this error.
    If anyone has an answer , please reply .

    Hi,
    For accessing any application outside domain you need to have Public IP of the server where your you have put your application.
    Regards,
    Gulrez Alam

  • XP client ping the domain name get resolve ip 127.0.53.53

    I got a strange issues recently. We have many windows XP client in our company. Most them are working out of office.
    So they connect our VPN to access the company resource. But last week (around 8.25), all the XP clients lost connections with our domain after they connected VPN.  When I try ping the domain name, it got a resolved IP:127.0.53.53.
    If I  nslookup our domain name, it will get a correct resolved ip. Now It impacts all XP users' work. They can't use the outlook,
    connect to the file share server.(windows 7 is ok, just XP get issues.)
    Now my solution is:  add our intrance dns(find it on the VPN network) to the local adapter.

    https://icann.org/namecollision

  • How to get the system name of the client?

    Hi,
    I 've followed this Blog:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/getting%252blogged%252bin%252bportal%252buser%252bdetails%252bin%252bweb%252bdynpro
    getSAPUser() method returns the logged in user name.
    Is it possible to get the System name of the client?
    Thanks,
    RPN

    Hi,
    Following Code returns the System id :
    String sid = System.getProperty("SAPSYSTEMNAME");
                                       if(sid.equals("J2E")){
                                            //Do something                                   }
    Siddharth

  • Error in getting the BAPIWrapper name from the ini file or SAP mobile configuration: Agentry Error

    Hello Experts,
    I follow the flightbooking tutorial to create a Material application to get material list. I  can start the agentry server but when I connect to SAP server and get data, I face below issue
    Error in getting the BAPIWrapper name from the ini file or SAP mobile configuration. Please check the ini file or the mobile configuration for the bapi key (com.syclo.sap.material.bapi.materialbapi) either in sections BAPI_WRAPPER or REQUIRED_BAPI_WRAPPER
    I check the parameters name in SAP Agentry Config panel, all are correct. Why cannt it get the data. Do I have to add anything in javaBE.ini? Please help me. Thank you very much.
    My javaBE
    [HOST]
    server=be1.vdc.csc.com
    APPNAME=ZCH_MATERIALLIST
    [CLIENT_NUM]
    CLIENT=800
    [SYSTEM_NUM]
    SYSNUM=01
    [LOGON_METHOD]
    ; USER_AUTH if standard UID/Password authentication is used
    ; USER_AUTH_GLOBAL if pooled connections using single UID/Password is used
    ; USER_AUTH_GROUP if UID/Password authentication with SAP Message Server
    ;   (load balancing) is used
    LOGON_METHOD=USER_AUTH
    [GLOBAL_LOGON]
    ; referenced when LOGON_METHOD=USER_AUTH_GLOBAL
    ; uses a pool of connections to the SAP backend all utilizing a single
    ;    UID/password
    UID=
    UPASSWORD=
    SHAREDCONNECTION=0
    GET_PERSONNEL_INFO=
    [SERVICE_LOGON]
    ENABLED=true
    UID=hngu3
    UPASSWORD=xxxxxxx
    UPASSWORDENCODED=false
    [GROUP_LOGON]
    ; referenced when LOGON_METHOD=USER_AUTH_GROUP
    ; individual user authentication using an SAP Message Server which distributes
    ; client connections among a "group" of SAP application servers based on load
    ; balancing criteria
    ; host name or IP address of SAP Message Server
    MESSAGE_SERVER=
    GROUP_NAME=
    SYSTEM_ID=
    CLIENT=
    [LANGUAGE]
    LANG=EN
    [LOGGING]
    Level=4
    [REQUIRED_BAPI_WRAPPER]
    com.syclo.sap.bapi.LoginCheckBAPI=/SYCLO/CORE_SUSR_LOGIN_CHECK
    com.syclo.sap.bapi.RemoteUserCreateBAPI=/SYCLO/CORE_MDW_SESSION1_CRT
    com.syclo.sap.bapi.RemoteParameterGetBAPI=/SYCLO/CORE_MDW_PARAMETER_GET
    com.syclo.sap.bapi.SystemInfoBAPI=/SYCLO/CORE_SYSTINFO_GET
    com.syclo.sap.bapi.ChangePasswordBAPI=/SYCLO/CORE_SUSR_CHANGE_PASSWD
    com.syclo.sap.bapi.CTConfirmationBAPI=/SYCLO/CORE_OUTB_MSG_STAT_UPD
    com.syclo.sap.bapi.DTBAPI=/SYCLO/CORE_DT_GET
    com.syclo.sap.bapi.GetEmployeeDataBAPI=/SYCLO/HR_EMPLOYEE_DATA_GET
    com.syclo.sap.bapi.GetUserDetailBAPI=/SYCLO/CORE_USER_GET_DETAIL
    com.syclo.sap.bapi.GetUserProfileDataBAPI=/SYCLO/CORE_USER_PROFILE_GET
    com.syclo.sap.bapi.PushStatusUpdateBAPI=/SYCLO/CORE_PUSH_STAT_UPD
    com.syclo.sap.bapi.RemoteObjectCreateBAPI=/SYCLO/CORE_MDW_USR_OBJ_CRT
    com.syclo.sap.bapi.RemoteObjectDeleteBAPI=/SYCLO/CORE_MDW_USR_OBJ_DEL
    com.syclo.sap.bapi.RemoteObjectGetBAPI=/SYCLO/CORE_MDW_SESSION_GET
    com.syclo.sap.bapi.RemoteObjectUpdateBAPI=/SYCLO/CORE_MDW_SESSION_UPD
    com.syclo.sap.bapi.RemoteReferenceCreateBAPI=/SYCLO/CORE_MDW_USR_KEYMAP_CRT
    com.syclo.sap.bapi.RemoteReferenceDeleteBAPI=/SYCLO/CORE_MDW_USR_KEYMAP_DEL
    com.syclo.sap.bapi.RemoteReferenceGetBAPI=/SYCLO/CORE_MDW_SESSION_GET
    com.syclo.sap.bapi.RemoteReferenceUpdateBAPI=/SYCLO/CORE_MDW_SESSION_UPD
    com.syclo.sap.bapi.RemoteSessionDeleteBAPI=/SYCLO/CORE_MDW_SESSION1_DEL
    com.syclo.sap.bapi.RemoteUserDeleteBAPI=/SYCLO/CORE_MDW_SESSION1_DEL
    com.syclo.sap.bapi.RemoteUserUpdateBAPI=/SYCLO/CORE_MDW_SESSION_UPD
    com.syclo.sap.bapi.TransactionCommitBAPI=WFD_TRANSACTION_COMMIT
    com.syclo.sap.bapi.SignatureCaptureBAPI=/SYCLO/CS_DOBDSDOCUMENT_CRT

    Hi Tahir, please help me check the log below
    Agentry Runtime Worker Thread###throwExceptionToClient::begin |
    Agentry Runtime Worker Thread###throwExceptionToClient::com.syclo.sap.material.steplet.MaterialSteplet::throwExceptionToClient::397::MaterialSteplet - Error in getting the BAPIWrapper name from the ini file or SAP mobile configuration. Please check the ini file or the mobile configuration for the bapi key (com.syclo.sap.material.bapi.materialbapi) either in sections BAPI_WRAPPER or REQUIRED_BAPI_WRAPPER |
    Agentry Runtime Worker Thread###Exception: 17:15:35 06/17/2014 : 20 (Agentry3), Java Business Logic Error (com.syclo.agentry.BusinessLogicException: MaterialSteplet - Error in getting the BAPIWrapper name from the ini file or SAP mobile configuration. Please check the ini file or the mobile configuration for the bapi key (com.syclo.sap.material.bapi.materialbapi) either in sections BAPI_WRAPPER or REQUIRED_BAPI_WRAPPER),  |
    Agentry Runtime Worker Thread###loggedOut::begin |
    Agentry Runtime Worker Thread###HNGU3: SESSION END |
    Agentry Runtime Worker Thread###BAPI::begin |
    Agentry Runtime Worker Thread###create::nulled repository::created new repository |
    Agentry Runtime Worker Thread###create::/SYCLO/CORE_MDW_SESSION1_DEL Connection ID: com.sap.mw.jco.JCO$Client@2656ed99 |
    Agentry Runtime Worker Thread###create::Function /SYCLO/CORE_MDW_SESSION1_DEL created |

  • Not able to start the listener in oracle 10g  after the domain name changed

    Hi
    I had installed the oracle 10g on zLinux. It was working fine( was able to mount the database and start the listener). Now my server's domain name got changed. So i have added the new domain name in the tnsnames.ora and listeners.ora file . now i could able to mount the databases but am not able to start the listener . whille starting the listener , am getting the following error
    oracle@ptcr4d00:~> lsnrctl start
    LSNRCTL for Linux: Version 10.2.0.2.0 - Production on 05-AUG-2009 10:31:05
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Starting /opt/oracle/10g/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.2.0 - Production
    System parameter file is /opt/oracle/10g/network/admin/listener.ora
    Log messages written to /opt/oracle/10g/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PTCR4D00)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Linux Error: 104: Connection reset by peer
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PTCR4D00)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 111: Connection refused
    I have posted the contents of the tnsnames.ora and listeners.ora
    TNSNAMES.ORA
    TC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PTCR4D00)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = TC)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    LISTENERS.ORA
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /opt/oracle/10g)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = PTCR4D00)(PORT = 1521))
    Could you please help me to resolve this issue ?
    Regards
    Mani

    Hi
    Please find the content of the /etc/hosts below
    # IP-Address Full-Qualified-Hostname Short-Hostname
    #127.0.0.1 localhost
    9.124.114.49 PTCR4D00
    # special IPv6 addresses
    ::1 localhost ipv6-localhost ipv6-loopback
    fe00::0 ipv6-localnet
    ff00::0 ipv6-mcastprefix
    ff02::1 ipv6-allnodes
    ff02::2 ipv6-allrouters
    ff02::3 ipv6-allhosts
    9.124.114.49 PTCR4D00 PTCR4D00
    Regards
    Mani

  • Need to the domain name and computer name in offline mode

    Hi,
    I can not able to login to the windows system, the password i am using is correct. But im getting error "the login method using is incorrect, please contact network admin". I forgot the domain name i set to login to the system. Now Currently i
    dont have the recovery/windows7 disks.  I have Unix in my machine as well. so i have mounted the windows7 parition in linux, and trying to find out the computer\domain name.  so please suggest which file i need to search to get the details.
    Thanks,
    Ravi

    Hi Ravi,
    If you want to know more information about domain name, please take a look at the following article.
    http://technet.microsoft.com/en-us/library/cc731265(v=ws.10).aspx
    Based on my research, the computer name and domain name are stored in the registry key.
    We could find computer name in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName.
    And we can find domain name in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Domain.
    Have you ever  joined a domain?
    If yes, please contact the network admin as mentioned.
    And we can type Domain name\Username and then password to login.
    If you haven’t, we could try to type Computer name\username(.\username) and then the password to login the computer.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Changing the default domain name of the server.

    I know this is not the correct title for the topic. but its the best word i could found on my voculabary.
    here's my problem.
    Im using Sun App Server 9. the server is installed in the local machine. for testing purposes client access from the local server is sufficient. I deployed a web service using net beans 5.5. My problem is that the WSDL file is generated (by server) uses a fully qualified domain name rather than localhost. for example it uses http://mlb.stdmlb.sliit.lk:8080. When i try to create a client using netbeans it tries to access the server using this address (the one in the WSDL) but the firewall denies access to port 8080. Therefore i want to use the server to use localhost rather than the long domai name. (at least http://mlb) Can anyone tell me how to configure this?
    Lahiru

    These are the steps for changing domain name & IP address without reinstall
    a) Stop the Gateway and Server .
    b) Export the profile server database to a flat ldif file:
    # /opt/netscape/directory4/slapd-host_name/db2ldif /temp/profile.ldif
    c) Use awk, perl, or vi, to change every instance of the system domainname in the ldif file to that of the new system.
    d) Import the edited ldif file into the profile server on the new machine:
    # /opt/netscape/directory4/slapd-/ldif2db -i /temp/profile.ldif
    e) edit etc/opt/SUNWips/platform.conf and change all the domain name & Ip address
    f) edit /etc/opt/SUNWips/properties.file change the domain name
    g) Start the platform server and gateway on the new machine.

Maybe you are looking for

  • How to I connect my old serial port monitor to macbook air?

    I have a samsung monitor...has two ports...serial and DVI? thanks.

  • Parameter to CRM report

    Hello All, I am trying to pass a Account lookup value to the report so that it opens directly instead of user having to choose the account in the filter criteria. What is the correct way to add a lookup parameter to the CRM report URL? Thanks

  • SSIS 2005 and SSIS 2012 Have Different Data Flow Output

    Hi Guys, I'm currently converting our SSIS 2005 packages to 2012 and I'm finding an odd difference on the Data Flow Output when it imports a txt file to a table. We have a pipe delimited file ( contains a totals on the bottom row). CATNO|Title|Total

  • How to export diadem channels to an existing excel file with a certain configuration

    Hello, I would like to export some channels from the Data Portal of Diadem  to an existing excel file. The excel file consists of many spreadsheets and each channel  should match one spreadsheet. I´ve tried to use EXCELExport() function but it doesn´

  • Install JMF without administrative rights

    Dear All is it possible to use JMF on Windows XP (capturing from webcam) without installing JMF as administrator? We have networked machines available with Java and Processing running and i would like to use JMF, alas we don't have adm rights on the