Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

刪除一或多個現有使用者或群組,或從現有群組中移除一或多個現有使用者。

語法

刪除一或多個使用者,或從群組中移除一或多個使用者:

DROP USER user[, user, ...] [FROM group]

刪除一個或多個群組:

DROP GROUP group[, group, …]

DROP USER 或 GROUP 陳述式包含下列部分:

部分

描述

user

要從工作群組資訊檔案移除之使用者的名稱。

group

要從工作群組資訊檔案移除之群組的名稱。


備註

如果在 DROP USER 陳述式中使用 FROM 關鍵字,則會從 FROM 關鍵字後面指定的群組中移除陳述式中所列的每個使用者。 不過,不會刪除使用者本身。

DROP GROUP 陳述式將會刪除指定的群組。 身為該群組成員的使用者不會受到影響,但他們將不再是所刪除群組的成員。



Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×