Query AD with user name

Hello,
Please let me know if it is possible to query active directory...
1. using just the network name or user name, and
2. without using any credentials
If yes, please point me to some examples.
Thanks!

Hi,
Look at Get-ChildItem:
http://technet.microsoft.com/en-us/library/ee176841.aspx
You can use that to get your list of files and then check the LastWriteTime property of each file.
As for deleting, you can use Remove-Item:
http://technet.microsoft.com/en-us/library/ee176938.aspx
Don't retire TechNet! -
(Don't give up yet - 12,575+ strong and growing)

Similar Messages

  • Report on documents posted with user name-urgent

    Hi All
    Is there any report available to find out the documents posted  with user name on any one particular date.
    This req. is for a audit purpose.
    Thks & regards
    nivi

    Hi Hein
    They dont want to use any query and generate report.  There are billing issues.  They are enquiring whether standard report or transaction code is there to track the same.
    Anyway Thks for your inputs.
    Thanks & Regards
    nivi

  • CSCul66951 LDAP routing query fails when user name is the same (6 july 2014)

    in the case CSCul66951 LDAP routing query fails when user name is the same it is mentionned that the version 8.0.2-055 correct this bug ? How come i don't see this version on my menu Available upgrades from my IronPort C370 ?
    Is there someone on the support team that have try this LDAP query on a IronPort C370 with this version in the development lab ?
    Do i have to open a support Case to have this version of AsyncOS ?
    Best regards,
    Benoit Belair
    University of Quebec in Montreal

    Yes - CSCul66951 - this was included w/ the 8.0.1-HP1, and is rolled into 8.5.6-074 GA release.
    See release notes, resolved issues:
    http://www.cisco.com/c/dam/en/us/td/docs/security/esa/esa8-0/release_notes/ESA_8-0-1_HP1_Release_Notes.pdf
    CSCun02766 - 8.5.6-063, which was superseded by the 8.5.6-074 GA release.  
    See release notes, resolved issues:
    http://www.cisco.com/c/dam/en/us/td/docs/security/esa/esa8-5-6/ESA_8-5-6_Release_Notes.pdf

  • Background Job with User Name

    I am trying to submit report program in background job. I want to submit it with specific user name so I am submitting with user name as 'ABC'  as below
    data: user type sy-uname.
    user = 'ABC'.
    SUBMIT z_program AND RETURN
                 WITH matnr = matnr
                 WITH werks = werks
                 USER user
                 VIA JOB jobname
                 NUMBER jobcount
    But it creates job with current user(sy-uname) running the program and  not 'ABC'. How I can change it for specified user?

    SUBMIT z_program AND RETURN
    WITH matnr = matnr
    WITH werks = werks
    USER user
    VIA JOB jobname
    NUMBER jobcount
    AND RETURN.    "you forgot to return back
    Of course the user should be the one existing in the system. I guess there is no such ABC. Find the one which exists (use i.e. su01).

  • How to read the data from a file in another computer with user name and password login

    How to read read the data from a file in anohter computer which need to login with user name and password?

    duplicate post:  http://forums.ni.com/t5/LabVIEW/log-on-the-other-computer-with-user-name-and-password/m-p/2061478
    duplicate post:  http://forums.ni.com/t5/LabVIEW/do-need-to-enter-the-user-name-and-password-when-TCP-ip/m-p/2061612
    duplicate post   http://forums.ni.com/t5/LabVIEW/log-on-the-other-computer-with-user-name-and-password/m-p/2060682

  • ERROR: Cannot connect to Host: [SERVER] with user name: [J2EE_ADMIN]

    Hello SAP experts
    I have started to deploy java SPS on a solution manager system, but has encountered some problems.
    I've tried both JSPM and SDM, but get the following error:
    Software Component 'ADSSAP'/ 'sap.com'/ 'SAP AG' / '1000 .7.00.16.0.20080610114809''/ '1 ':
    Caught exception mens checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Can not connect to Host: [SERVER.domain] with user name: [J2EE_ADMIN]
    Check your login information.
    Exception is:
    com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception vid getInitialContext surgery. No server is running. [Root exception is com.sap.engine.services.
    I can not log on Visual admin, with user J2EE_ADMIN, I've checked the user is not locked in the ABAP stack. I have activated SAP * on the JAVA stack, but still can not log on, get this error:
    Error while connecting
    com.sap.engine.services.security.exceptions.BaseLoginException: Can not create new remote login context.
    I've run out of ideas, please some suggestions.

    SOLVED - Note 609603

  • ERROR:Cannot connect to Host: [MTW02SDEP02] with user name: [Administrator]

    Dear All,
    When I try to deploy WD application, it gives me this following error and doesn't deploy.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [MTW02SDEP02] with user name: [Administrator]                     Check your login information.                     Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during getInitialContext operation. No server is running. [Root exception is
    Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.
         at com.sap.engine.services.security.remote.login.RemoteLoginContextExt.<init>(RemoteLoginContextExt.java:34)
         at com.sap.engine.services.jndi.implclient.LoginHelper.clientSideLogin(LoginHelper.java:81)
         at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:355)
         ... 38 more
    Caused by: com.sap.engine.services.rmi_p4.P4ConnectionException: Possible problem: no available running server node. Check your running servers.
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:709)
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:697)
         at com.sap.engine.services.rmi_p4.Parser.newRequest(Parser.java:180)
         at com.sap.engine.services.rmi_p4.Connection.run(Connection.java:427)
         ... 1 more
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted

    Hi
    Try this
    1. Is this is the remote server?
       if yes make one entry in host file under C:\WINDOWS\system32\drivers\etc
        format   :  <server ip>  <servername>
        restart NWDS
    2.If not then put the Ip address  instead of name inside Window--preference --Sap server Check.
    3. Put some different UserId and Password who has deployment rights
    Best Regards
    Satish Kumar

  • Cannot connect to Host with user name J2EE_ADMIN !!!

    Hi all,
    this exception when deploy from NWDS04s:
    <i><b>Caught exception while checking the login credentials for SAP J2EE Engine. Cannot connect to Host with user name J2EE_ADMIN</b></i>
    Complete exception:
    <i>Result
    => deployment aborted : file:/D:/DOCUME1/VITO1.PAL/LOCALS~1/Temp/temp23237GivaudanNavigation.ear
    Aborted: development component 'GivaudanNavigation'/'local'/'LOKAL'/'0.2006.03.20.16.50.48':
    Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [milds2004] with user name: [J2EE_ADMIN]                     Check your login information.                     Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Access Denied.]
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted</i>
    Any help will be appreciate. Thx.
    Vito

    Hi Nagarajan,
    it seems not good
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>sdm changepassword "sdmhome=D:\usr\sap\GVD\
    DVEBMGS01\SDM\program" "newpassword=ADMIN1"
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_java_home=D:/j2sdk1.4.2_09
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_64bit_switch=
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_heap_size=128
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_memory_switch=-Xmx128M
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_com="D:/j2sdk1.4.2_09\bin\java"  -X
    mx128M  -jar "D:\usr\sap\GVD\DVEBMGS01\SDM\program\bin\SDM.jar"
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>"D:/j2sdk1.4.2_09\bin\java"  -Xmx128M  -jar
    "D:\usr\sap\GVD\DVEBMGS01\SDM\program\bin\SDM.jar" changepassword "sdmhome=D:\u
    sr\sap\GVD\DVEBMGS01\SDM\program" "sdmhome=D:\usr\sap\GVD\DVEBMGS01\SDM\program"
    "newpassword=ADMIN1"
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addI
    viewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBased
    SecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator g
    enerateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem
    startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConf
    igurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHiera
    rchicalContext lookup
    Starting SDM - Software Deployment Manager...
    tc/SL/SDM/SDM/sap.com/SAP AG/7.0005.20051006181702.0000
    Initializing Network Manager (50117)
    Checking if another SDM is running on port 50118
    SDM is integrated in JStartupFramework. No repository changing commands are poss
    ible.
    Processing error. Return code: 4
    Could U help, pls? Thx
    Vito

  • Log on the other computer with user name and password

    How to use labview to write a software to log on the other computer with user name and password?

    Jimmyzeng wrote:
    Nobody can help on this?
    Besides repeatedly asking the same question in thread after thread, you are not providing enough information to answer the question. You have been given answers already stating that operating systems do not make this very easy to do using programs for security concerns. In addition, the authentication process varies depending on what service you are communicating with. You really need to provide more information if you want to get meaningful answers to your questions.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • PO Report with user name

    Dear Experts,
    I am SAP FIico consultant but i have a query in MM module. Client need a report of purchase order with the user name , who create the  po.
    Thanx in advance
    Regards
    Aditya

    Hi Aditya,
    You could download the output from table EKKO from SE16.
    Go to transaction SE16 -> Enter table name EKKO -> Enter the selection parameters
    From the output, filter out only the fields you require including the field ERNAM (Created By).
    Then download the list using on of the buttons on the application toolbar ('CtrlShiftF7', 'Ctrl-Shift-F8', 'Ctrl-Shift-F9') or,
    System -> List -> Save -> Local File
    Regards,
    Purnima.

  • Caml query - get current user name

    I have an external list via BDC (so cannot change column type, create calculated column or workflow
    ). There is a text column “Supervisor”. I need to create a view that display all items which the value of “Supervisor” = current login user’s display name or login name (windows user name). 
    I tried set up the field on the UI with [Me] function which does not work because “Supervisor” is not an user/group type column. Now I am working on the code. I found the follow caml query on the web that is close to what I need:
    <Eq>
    <FieldRef Name='Supervisor' LookupId='TRUE'/>
    <Value Type='Integer'><UserID/></Value>
    </Eq>
    I know this only work if the ‘Supervisor’ type is “User”. I just wonder if someone know how to replace the <Value> with a text string
    of the current user’s display name or window name? I really appreciate for any help (I have struggled with this issue for a week).
    Forget to mention that I am working on a web part page in SharePoint designer, not in Visual Studio. So I cannot not using spcontext class.

    Thank you again for your response.  For this method, I need need to find a way to get the current user to a variable, the use the varrible in the query. This works for me:
    <ParameterBinding Name="UserID" Location="CAMLVariable;ServerVariable(LOGON_USER)" DefaultValue="CurrentUserName"/>
    <Eq>
    <FieldRef Name="Supervisor"/>
    <Value Type="Text">{UserID}</Value>
                    </Eq>
                    <Eq>
    <FieldRef Name="AttnMonitor"/>
    <Value Type="Text">{UserID}</Value>
                   </Eq>

  • Batch job with user name

    Hi,
    Is it possible to create a batch job with another user name using JOB_OPEN?
    and what is the use of JOB_GROUP option??
    Thx in advance.
    PRa

    use:
    CALL FUNCTION 'JOB_OPEN'...
    *--create Step
        SUBMIT RFBIBL00 AND RETURN
               USER SY-UNAME VIA JOB JOBNAME NUMBER JOBCOUNT
               WITH DS_NAME = FILE
               WITH CALLMODE = 'B'.
    greetings

  • Help: consuming an external web service with user name token

    Hello Together!
    I need to consume an external web service secured with WS-UserNameToken. The way, how did I do it:
    1. I generated a web service consumer (proxy) in SE80 from the wsdl file
    2. I created logical port for the consumer in SOAMANAGER
    3. I created security profile in WSSPROFILE with telpmate SET_USERNAME and assigned it to consumer operation in LPCONFIG  (I use LPCONFIG, because I didn't find any way to do it in SOAMANAGER)
    3. I called the web service and got the error back:  session token is missing or invalid or has inspired
    My questions are:
    1. is this possible to consume an external webservice in SAP, which is secured with WS-Usernametoken?
    2. do I need therefore any settings in java stack? do I need java stack in general?
    3. Is this any way to configure the consumer without writing programs, which set header parameter manually?
    4. if the answer on the third question is no, do you have any examples, how to implement session management in report? (I mean sending session id and checking the validaty of id)
    I appriciate any help of you!
    best regards Anna

    Hi,
    it should be possible to use WS-UserNameToken for consuming web service. It should be available on AS BAP 7.0 and higher. This profile should be under category Document authentication. You can try to dump a message send from SAP to see what is going out of SAP. This should be supported in ABAP so you don't need a Java stack. What exactly do you want to configure? Do you want to just set user name and password for that service which will be used for any calls of that proxy?
    Cheers

  • Need a report on credit release with user name whos has released

    Hi All,
    Need a report with following details:
    1.2. Sales order punched by-user name who has created.
    2. User name who has released sales order from credit block.
    3. release Date and time of order released.
    Please suggest. As I could not find any standard report.
    what tables should I join to get the report.
    Thanks in advance
    Regards,
    Mskgnt

    hI
    >
    > Need a report with following details:
    >
    > 1.2. Sales order punched by-user name who has created.
    You can get the user name from table VBAK-ERNAM Pass the sales order number in to VBAK-VBELN
    > 2. User name who has released sales order from credit block.
    > 3. release Date and time of order released.
    From the report RSSCD100 enter the object class as VERKBELEG and T code as VKM3 and execute
    Or You can use the table CDHDR
    User Name CDHDR-username and for release date and time
    CDHDR-UDATE
    CDHDR-UTIME
    REGARDS
    PrashanthI
    Edited by: Prashanth@SD on Nov 9, 2010 8:03 AM

  • How to see the Batch input session name in SM35 with User name.

    Hi
    Yesterday,User has created one Batch input session from FBWE and selected process button after that display errors only tick mark in SM35. Then the system displayed one error message"No Batch input data for screen SAPMF05A 0700".After that he came out from the screen. He dont know what happened.
    Today we have verified in SM35. But there is no batch input session with his name. We have verified in incorrect screens and every thing in SM35.
    We have verified in Table 'T045DTA'. There are some entries are there.
    We dont know the session name also.
    How we can find the session name created by the User.
    We have not deleted any thing.
    Please help me
    Thanks
    Ravi.

    Hi Ravi,
    Yes, you should be able to create a new batch job for FBWE. You can see your own batch sessions from SYSTEM ==> OWN JOBS
    Regards,
    Mike

Maybe you are looking for