Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

Deleting User Accounts

Deleting User Accounts

The delete user account operation allows you to remove a single or all user account from the Users content type.

Single User

The following code snippet will delete the user from Telerik Platform:

EVDataStore *dataStore = [EVDataStore sharedInstance];
[dataStore remove:testUser block:^(BOOL success, NSError *error){
        // success indicates if the update was successful
}];

Multiple Users

The following code snippet will delete all user that match the predicate.

EVDataStore *dataStore = [EVDataStore sharedInstance];
testUser.displayName = @"New User Name";
[dataStore remove:[testUser class] withPredicate:[NSPredicate predicateWithFormat:@"DisplayName == 'Some Display Name'"] block:^(BOOL success, NSError *error){
        // success indicates if the update was successful
}];
Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.