Setting cn with Extended UserPrincipal problems RRS feed

  • Question

  • User-978743659 posted

    I have created an extended UserPrincipal using the method described in this post:v


    However when I try to use this extended UserPrincipal to set the cn attribute when creating a user, I get the error:

    "System.DirectoryServices.AccountManagement.PrincipalOperationException: An invalid dn syntax has been specified."

    Is it possible to extend UserPrincipal in order to successfully set the "cn" attribute?

    Tuesday, February 5, 2013 10:47 AM

All replies

  • User-851967432 posted

    cn attribute or dn attribute?

    Tuesday, February 5, 2013 11:25 AM
  • User-978743659 posted

    I am attempting to set the cn attribute.

    Tuesday, February 5, 2013 11:45 AM