Available for: Content Management Server
Task: Checks whether the user login
is
direct or indirect owner (owner
) of the user with the login or group
named ownedLoginOrGroup
(see
Owner of a user).
Syntax:
user withLogin login isOwnerOf ownedLoginOrGroup
Function parameters:
ownedLoginOrGroup
Login which is queried whether
its owner
is login
.Return value if successful: 1 if the user
login
is the direct or indirect owner
of the
user with the login or group named ownedLoginOrGroup
,
otherwise 0.
Necessary permissions: none
Example:
CM>user withLogin michael isOwnerOf jane 1