Home > Commands A-M > Commands L

LOCAL


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Display membership of local groups on remote servers or remote domains.


Syntax

LOCAL group_name [domain_name | \\server]


Parameters
domain_name (NT4)
A network domain.
group_name (NT4)
The local group.
\\server (NT4)
A network server.

Switches

none.


Related

NET GROUP - Manage network resources.
NET LOCALGROUP - Manage network resources.
FINDGRP - Display group memberships of a user.
GLOBAL - Display membership of global groups.
GetDC - Get domain controller.
Equivalent Linux BASH commands:
groups - Print group names a user is in.
id - Print user and group id's.
uname - Print system information.


Notes

none.


Examples

Displays the members of the group 'Power Users' in the Scotland domain.

    LOCAL "Power Users" Scotland

Displays the members of the group Administrators on server 9G_Server

    LOCAL Administrators \\9G_Server

Errorlevels

none.


Availability
External Resource Kit
DOS
none
Windows
none
Windows NT
NT4