Resource.checkAlias (Method)

Returns 'OK' if the given name may be used as a resource alias. If the name cannot be used, the return is a short-hand reason why - 'alias:{resourceName}' indicates that the name is already an alias, 'resource' indicates that the name is in use as a resource name and cannot be used as an alias.

Returns:

PlainText (string)

Arguments:

Name Type Required Description
name PlainText_NonNull_NoComma_255 Required The candidate alias name to check.

Context:

License Requirements None
Permission Requirements ContributorOrServerCode
Deny Context None
Require Context AuthoringEnabled
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