Users.getUndeleteInfo (Method)

Returns a structure containing information about a user marked as deleted.

Returns:

User_UndeleteInfo (struct)

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

Field Name Type Description
FullName Person_FirstNameMiddleNameLastName The user's full name.
isOriginalUserNameTaken Boolean Boolean flag when true indicates that the original user name is being used.
OriginalUserName PlainText_NonNull_50 Either the user's name or the login name.

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:

Code Error Message
66001 The specified user is not marked as deleted.

Notes:

None