Information about the domain could not be retrieved (1355).
using (var context = new PrincipalContext(ContextType.Domain, uri.Host + ":" + uri.Port, connectionUsername, connectionPassword))
user.IsMemberOf(context, IdentityType.SamAccountName, groupName);
So some sort of chat between the client and the AD server is not happening because of something unknown.
Information about the domain could not be retrieved (1355).
http://www.c-sharpcorner.c
The main thing... you need DNS access to the directory, and you'll create an authenticated connection to the AD, and then you can enumerate the groups, memberships etc. just like normal.
Coralon