Currently i am in Domain-A and i am trying to get user id details from another domain(domain-B) with below command.
net user user-id /domain
The request will be processed at a domain controller for domain domain-A.net.
The user name could not be found.
More help is available by typing NET HELPMSG 2221.
Since it is failing and trying to find in domain-A itself, So have tried with net user domain-B\user-id /domain
however no success, Is there way to get user details from another domain?