Users.getDeleteStatus (Method)

Returns a structure containing information indicating if a user can be deleted and if reassignments must occur if this user is deleted.

Returns:

User_GetDeleteStatus_Result (struct)

Each row of the returned query results has the following fields:

Field Name Type Description
canDeletePermanently Boolean Boolean flag which when true indicates that CommonSpot can permanently delete the user.
NoDeleteReason String String describing why the user cannot be deleted (empty if deletion is allowed).
RequireReassignment Boolean Boolean flag which when true indicates that deleting a user requires that CommonSpot reassign ownership to another user.

Arguments:

Name Type Required Description
userID UserID Required A user's ID.

Context:

License Requirements None
Permission Requirements ContributorOrServerCode
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None