I am having problems returning user details from multiple domains using the Active Directory Service2 Service object.
Our environment has two Active Directory Domains with a two-way trust. We are using K2 Blackpearl 4.5.
I have configured K2 via the Workspace Management Console (and changes to web.config) to use the second domain. I am able to search for users in the second domain for example in ‘Add role Item’.
I have created a Smart Object that uses the Active Directory Service2::AD User::GetUserDetails method and trying to use that method to return AD details for a user from either domain.
The problem is that I cannot return any user details from the second domain.
As a test I have used the GetUserDetails method to be returned in the body of an email, passing an account name from the second domain Domain2xyz. But the details are not returned and the Error message in the Error Log is ‘SmartObject is empty’.
I have also noticed that in the User Browser, Only the users from the first domain can be selected in the Users->K2 node.
Any advice on how to return User Details from multiple AD Domains would be greatly appreciated.
Thanks