开发者

Compile Error: DML operation DELETE not allowed on User

i write apex class for Delete the user records but i got error that error shows like this

Error: Compile Error: DML operation DELETE not allowed on User at line 28 column 7 how to solve this error please let m开发者_开发知识库e know.


User object is not deletable, to "delete" a user and retrieve a license to use on another user you have to disable the user by setting isActive to false. This will cause its license to go back to the pool.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜