Mocking an extern method directly is not supported.
As a workaround, if you're calling the extern from your own code, you can wrap the call by:
LogonUser(lpszUsername, lpszDomain, lpszPassword, dwLogonType, dwLogonProvider,
And mock the behavior on the wrapper call.
Should you have anymore questions please don't hesitate to write us back.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items