Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Discussions

Remon Remon
  • Mechanism to allow Active Directory to record Logged in users' IPs

    ZippyV said:
    I'm not sure if the ip is logged but the name of the workstation certainly is. Why would you want to record ip addresses when you can get much more detailed information from AD? Check out the event log to get all this information.

    Also, creating a list of login- and logoff-times is going to be more difficult than you think. AD doesn't work that way, instead when you login the workstation gets a token and you are immediatly logged off from AD's point of view. Then, when you need something from the network your workstation sends the token, AD validates it (logon) and logs you off again.

    Hey ZippyV,

       Thank you for the information.

    I need to login the IP to check if the user is connecting from VPN or not. I need to lock out the guys coming from VPN.

    I will write the code  to query from the AD. What i want to do is the kind of data above, but i want to get the AD involved so i don't write even more code.

    Do you have any idea what should i do if i want to do such thing ?

    Thanks,

    Remon

  • Mechanism to allow Active Directory to record Logged in users' IPs

    Hello,
        I am trying to log the IPs of the users logging in to my AD. I don't know if the AD saves IPs of the logged in users or not, but i was asking if I can use it to produce something like that:
    USERNAME        LOG_DT_START    LOG_DT_END           IP
    Administrator    2008-08-08 12:00   2008-08-08 20:00    10.0.0.30

    Anyone got any idea ?
    Thanks,
    Remon

  • Prevent other ​administrat​ors from resetting my password - AD Windows Server 2008

    Hey,
       I have this business problem @ my company:
    I have 3 Active Directory administrators X, Y, Z
    I want to apply something on user X that prevents other administrators (Y,Z) from resetting or taking control of the administrator X.
    I am using Active Directory on Windows Server 2008.
    Thanks,
    Remon

  • Detect if windows is going to Stand by/Hibernate

    Hello,
       I am writing this utility to hook on the windows waiting for a System Shutdown.
    So far, I can detect system shutdown methods (Logoff, Restart, Shutdown) by Microsoft.Win32.SystemEvents.SessionEnding event.
    However, because Hibernate & Stand by don't send the WM_QUERYENDSESSION, the event above doesn't detect it.
    Is there anyway to detect those 2 events & prevent them from happening if the user chooses not to ?
    Thanks,
    Remon

  • Virtual Earth / SQL Spatial Data types Demo deployment

    Hello,
       I developed a basic demo that reads Coordinates from SQL 2008 & show it on Virtual Earth control.
    When i am trying to deploy on a machine that doesn't have SQL 2008 installed on, I get a missing reference (Microsoft.SqlServer.Type).
    It would run only on a machine that does have SQL Server 2008 installed on.
    Anyone could help me if there's some sort of prerequisits i should add before deploying my web demo ?
    Thank you,
    Remon

  • Check if your application satisfies medium trust policies

    Hello,
      I am working on this application that one of its requirements to cope with Medium trust policy.

    If i have a solution, how can i make sure that this solution would run on Medium trust policies with no problems ?

    Is there any kind of tools to do that ?

    Thanks,
    Remon

  • RDP-Like - Snapshots transfer enhancement

    Hi, I am doing a simple RDP client/server.

    For know i am able to use WIN APIs to Capture the Desktop screen. However, the Desktop screen size is large (400KB) as i have a hight res Desktop.

    Anyone know an idea/algorithm to enhance image transfer ?

    I have tried XNOR/AND method but it didn't work as the CaptureDesktop returns a different image everytime i use it, even if i haven't changed anything in the screen.

    I'd be grateful if someone have info about how MS RDP is working for these snapshot transfer.

    Thanks!

  • Passing abstract class instance as a WebMethod parameter

    JohnAskew wrote:
    

    They are 2 different classes. Create a proxy class for, and populate it from, the original BaseRecord-derived object for use with web services. The web service will need the XML-serializable proxy class (lightweight, text only) and not BaseRecord derived objects (heavy, binary). Web Methods will use the proxy classes.

     



    This cannot be done too unluckly, the problem is this code is so dynamic, (even the BaseRecord-driven classes are loaded in run time)
    so we need to pass the BaseRecord or the IRecord.

    The problem is WS is message driven not class-driven.. so i have no idea how to send a class ( say CarRecord::BaseRecord) as BaseRecord, then unboxing it as CarRecord at the WS end.

  • Passing abstract class instance as a WebMethod parameter

    IRecord cannot be a parameter to a WebMethod as it cannot be serialized.

  • Passing abstract class instance as a WebMethod parameter

    Hi,
      I have an abstract class "BaseRecord" that implements an interface "IRecord".
    I have WebMethod Update which take BaseRecord as a parameter.

    The problem is it considers the following:
    VS consider the 2 classes (the original & the proxy class generated by wsdl) 2 different classes.
    I won't pass a BaseRecord class, i will pass objects of classes that inherit the BaseRecord.

    What is the best practice of doing such a thing ?
    Can this be done using WCF & WebServices ?

    Thanks