IUserDetailsService LockUserAccounts Method CelloSaaS API Documentation
Locks the user accounts.

Namespace: CelloSaaS.ServiceContracts.UserManagement
Assembly: CelloSaaS.ServiceContracts (in CelloSaaS.ServiceContracts.dll) Version: 4.3.1.0 (4.3.1.0)
Syntax

int LockUserAccounts(
	string[] userIds
)

Parameters

userIds
Type:  System String 
Array of user identifiers

Return Value

Type: Int32
No of users accounts locked.
Exceptions

ExceptionCondition
CelloSaaS.ServiceContracts.UserManagement UserDetailExceptionIf Any exception occurred, while connecting or modifying the database.
System ArgumentNullExceptionIf user ids is null or user ids count is zero.
See Also