• C

MprAdminUserGetInfo - ?? Zoinks ??

I am trying to call this function to discover if a user has dial in rights on a Win2K domain.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rras/rras/mpradminusergetinfo.asp

I am getting an error when trying to pass the RAS_USER_0 struct to the lpbyte (4th arg)

Any ideas?

I need a quick answer so any help would be.....uh helpful.
LVL 6
tone28Asked:
Who is Participating?
 
jkrCommented:
BTW, that is to be used like e.g.

RAS_USER_1 ru1;

MprAdminUserGetInfo(L"\\\\TheServer",L"JoeUser",1,(LPBYTE) &ru1);
0
 
jkrCommented:
What error exactly?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.