Navigation:  Command Line Applications > IsAdmin >

Usage

Top  Previous  Next

Command Line Parameters

 

isadmin <USERNAME> /forcedomain

 

<USERNAME>

Checks if USERNAME has administrative rights. If no username is passed then the currently logged on user is used. Always specify the username without the domain prefix.

 


/forcedomain

Always check the domain's Administrator group, even on non-domain controllers (optional).

 

Examples

 

Example 1: Check if user "john.doe" is a local Administrator

isadmin john.doe

 

Example 2: Checks if the currently logged on user is a member of the domain's administrator group

isadmin /forcedomain