/m Command
Use /m to check group membership 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.
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" global 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