You need to sign in to do that
Don't have an account?
lavanya gottumukkala
Is it possible to reactivate a deactivated user through apex code
Hi All,
While updating the user record of the deactivated user by making IsActive as 'true' through apex code we are getting below error.
Update failed. First exception on row 0 with id 005F0000005sY9qIAE; first error: INVALID_CROSS_REFERENCE_KEY, Cannot activate a disabled portal user: [IsActive]
Is it possoble through code or not?
Can any one help me on this matter?
Thanks in advance
While updating the user record of the deactivated user by making IsActive as 'true' through apex code we are getting below error.
Update failed. First exception on row 0 with id 005F0000005sY9qIAE; first error: INVALID_CROSS_REFERENCE_KEY, Cannot activate a disabled portal user: [IsActive]
Is it possoble through code or not?
Can any one help me on this matter?
Thanks in advance
https://help.salesforce.com/apex/HTViewHelpDoc?id=customer_portal_disable_users.htm&language=en (https://help.salesforce.com/apex/HTViewHelpDoc?id=customer_portal_disable_users.htm&language=en)
Please let us know if this will help you.
Thanks
Amit Chaudhary