Connect Sage EM with .Net (C#)

SOLVED

How can I connect Sage EM and  .Net with a user authentication?

Before V11 there was authentication available:

cc.codeUser = "ADMIN";                      // X3 user
cc.password = "";                           // X3 password

And now in V11, how can I do it?

Thanks!