Populate a text field with the current user name RRS feed

  • Question

  • I have a tab on the contact form that I am using for auditing purposes.  I am needing to place the name of the current user into a field when they make a call and list their results.  I tried the code below, but I am getting this error:

    It just states that an error has occurred with an X with a big red circle.

    var command = new RemoteCommand("SystemUser", "WhoAmI", "/MSCRMServices/");
    userGuid = command.Execute();
    What am I missing?
    Wednesday, August 11, 2010 7:47 PM


All replies