RASUSERS will list all the user accounts that have been granted dial in permission. The usage is:

      rasusers \[Options\]
      rasusers DomainName
      rasusers ServerName

Options:

      /help Display brief usage message
      /? Display brief usage message

Example:

      rasusers JSI
      rasusers \\JSI001

The output is a list of Usernames like:

Jennifer
JERRY
Administrator
Opalis

If you want a sorted, formated report like:

  User Name                           F u l l    N a m e                                   D e s c r i p t i o n..................................................................

  Administrator   Built in Administrator Account   Built in Administrator Account
  Jennifer   Jennifer Schulman   CFO
  JERRY   Jerold Schulman   President
  Opalis   OpalisRobot   OpalisRobot

see tip 754. Download JSIUName.zip and simply change:

for /f "Tokens=1-3* Delims= " %%i in ('showmbrs "Domain Users"') do call :sortu %1 "%%i" "%%j" "%%k" "%%l"

            to

for /f "Tokens=1-3* Delims= " %%i in ('rasusers YourDomainName') do call :sortu %1 "%%i" "%%j" "%%k" "%%l"

            or

for /f "Tokens=1-3* Delims= " %%i in ('rasusers \\YourRASserver') do call :sortu %1 "%%i" "%%j" "%%k" "%%l"

and all occurances of JSIUName to JSIRASUsers.

Don't forget to download fsort.