member changes the membership list for a user or group.
adds each specified user or group that is not part of the
-uuser or -ggroup options. -d
deletes each specified user or group that is not part of the
-uuser or -ggroup options. -Ddomain-name
locates the primary domain controller of domain-name, and requests that machine to perform the actions on behalf of the member command. member normally performs actions on the local system.
-Dand -Soptions are mutually exclusive. -e
displays the error number contained in the errno variable for any system error that occurs and exits. You can use the strerror utility to display the system error message corresponding to this error number.
selects a group. The list of specified users are added or deleted from this group's user list.
treats all group names given as global groups. This is the default.
treats all group names given as local groups.
specifies the host machine that the member command requests to perform actions on its behalf. member normally performs actions on the local system. Optionally, hostname may be preceded by \\ or //.
-Dand -Soptions are mutually exclusive. -uuser
selects a user. The list of specified groups are added or deleted from this user's group membership.
For a more complete description of group membership, and an explanation of local groups versus global groups, see your 7/2008R2/8/2012/10/2016 administrative documentation.
For an example of member usage, see the userinfo reference page.
The following code might be used to remove user Sandy from the Accounting and Development groups:
member -S '\\MyServer' -G -u Sandy -d Accounting Development
Possible exit status values are:
Windows 7. Windows Server 2008 R2. Windows 8. Windows Server 2012. Windows 10. Windows Server 2016.
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.1 patch 1 Documentation Build 2.