[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


MprAdminUserGetInfo - ?? Zoinks ??

Posted on 2006-04-10
Medium Priority
Last Modified: 2010-08-05
I am trying to call this function to discover if a user has dial in rights on a Win2K domain.


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.
Question by:tone28
  • 2
LVL 86

Expert Comment

ID: 16422817
What error exactly?
LVL 86

Accepted Solution

jkr earned 1000 total points
ID: 16422825
BTW, that is to be used like e.g.

RAS_USER_1 ru1;

MprAdminUserGetInfo(L"\\\\TheServer",L"JoeUser",1,(LPBYTE) &ru1);

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
Suggested Courses
Course of the Month19 days, 2 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question