CustomElement.getOwner (Method)

Returns one or more structures, each containing the name and owner ID of an element's owner.

Returns:

CustomElement_GetOwner_Result (query)

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

Field Name Type Description
Name NonNullString The element owner's name. If the owner is a user, this is the full name (firstname middlename last name). If the owner is a group, this is the group's name.
OwnerID UserGroupID The ID of the user or group owning this element.

Arguments:

Name Type Required Description
elementID CustomElementID Required A custom element's ID.

Context:

License Requirements None
Permission Requirements (none)
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization This method may be customized at the site level

Error Codes:

None

Notes:

None