locked
How to read the Custom Fields of a User, not assigned as a resource with CSOM? RRS feed

  • Question

  • I don't know how to read the custom fields of a User (not assigned as a resource).

    If a user is a resorce, I can access to the custom fields, with the following code (just an example):

     var cfList = Mycontext.EnterpriseResources.FirstOrDefault().CustomFields

    but whether a resource is just a user, how can I access to the custom fields informations?

    Thank you


    Wednesday, September 2, 2015 3:57 PM

Answers

  • Agostino,

    Enterprise Custom Fields apply to:

     - Projects

     - Resources

     - Tasks

    Custom fields do not apply to users - so thats why there is no way to read that information.

    Cheers,

       James.


    James Boman BSc. MCP:EAD -

    Monday, September 14, 2015 6:37 AM

All replies

  • Agostino,

    Enterprise Custom Fields apply to:

     - Projects

     - Resources

     - Tasks

    Custom fields do not apply to users - so thats why there is no way to read that information.

    Cheers,

       James.


    James Boman BSc. MCP:EAD -

    Monday, September 14, 2015 6:37 AM
  • Ok, no way to manage that in that way.Thanks for your explanation James,Cheers.

    Monday, September 14, 2015 12:03 PM