how do I find identity associated with the user by C# or Javar

if I know the login in user ID, how do I get his identity?

Thanks

Qiaoyun

Parents
  • I wished Aras would have a standard function for this common task. But they haven´t. You have to do this with AML:

    // Get user Alias Identity
    Item alias = inn.newItem("Alias","get");
    alias.setProperty("source_id",inn.getUserID());
    alias.setAttribute("select","related_id");
    alias = alias.apply();

    string identity = alias.getProperty("related_id");

Reply
  • I wished Aras would have a standard function for this common task. But they haven´t. You have to do this with AML:

    // Get user Alias Identity
    Item alias = inn.newItem("Alias","get");
    alias.setProperty("source_id",inn.getUserID());
    alias.setAttribute("select","related_id");
    alias = alias.apply();

    string identity = alias.getProperty("related_id");

Children