Share via


/m Command

Use /m to check explicit and implicit group membership information for a specified group or user.

Required Permissions

To use the /m command, you must be a member of the Team Foundation Administrators security group. For more information, see Team Foundation Server Permissions.

Note

Even if you are logged on with administrative credentials, you must open an elevated Command Prompt to perform this function on a server that is running Windows Server 2008. To open an elevated Command Prompt, click Start, right-click Command Prompt, and click Run as Administrator. For more information, see the Microsoft Web site.

TFSSecurity /m groupIdentity [memberIdentity] /server:servername

Parameters

Argument

Description

groupIdentity

Specifies the group identity. For more information on valid identity specifiers, see TFSSecurity Identity and Output Specifiers.

memberIdentity

Specifies the member identity. For more information on valid identity specifiers, see TFSSecurity Identity and Output Specifiers. If the memberIdentity is omitted, the current context is used.

/server:servername

Required. Specifies the name of the application-tier server.

Remarks

Run this command on the local application-tier computer.

The /m command of the TFSSecurity command-line utility checks both direct and extended memberships.

Example

The following example checks if the user "ajesper" belongs to the Team Foundation Administrators server-level group.

>TFSSecurity /m "Team Foundation Administrators" n:ajesper /server:MyATServer

See Also

Tasks

How to: Create a Server-Level Group

Other Resources

TFSSecurity Command-Line Utility Commands

Team Project Groups

Default Groups