Knowledgebase:
User Deactivation API
Posted by , Last modified by on 04 January 2013 01:39 PM

User Deactivation API

Three new web services have been added which are accessed from the SalesForce environment and/or through the client’s own applications.

The three are as follows:

1. GetInactiveUsers (string APIKey, string APIUsername, string APIPassword, int InactiveDays)

The following method could be used to get the users who are not logged in to the system with in the period of given number of days.

Example - 

If the value of InactiveDays is 30; the subsequent return value will be all the users who were not logged in to the system within last 30 days.

2. DeactivateUser (string APIKey, string APIUsername, string APIPassword, string UserID)

From this method by giving the above mentioned parameters, we can use it to deactivate users.

3. DeactivateUserbyUserExternalID (string APIKey, string APIUsername, string APIPassword, string UserExternalID)

From the above mentioned method also we can deactivate the user. But here we have to give the "UserExternalID" instead of "UserID". This mainly the method used for Salesforce.

(0 vote(s))
Helpful
Not helpful

Comments (0)