NetGetJoinInformation will answer exactly this question.
> Hi,
>
> what´s the fastest way to resolve if a client is in domain or workgroup?
> Maybe netapi? Registry value?
>
> Thanks
Randy Birch - 06 Nov 2007 19:07 GMT
sample code: http://vbnet.mvps.org/code/network/netgetjoininformation.htm

Signature
Randy
http://vbnet.mvps.org/
> NetGetJoinInformation will answer exactly this question.
>
[quoted text clipped - 4 lines]
>>
>> Thanks