JavaScript Application Programming Interface (API) for AutoCAD
ContentsIndexHome
PreviousUpNext
Acad.Application.activedocument.isCloudFileOwner Function

Autodesk.AutoCAD.js

JavaScript
function Acad.Application.activedocument.isCloudFileOwner();

The promise object, the then argument can be used. The success method will be called with the boolean argument indicating if the user is the owner.

Use this function to verify if the user is the owner of the of the file that is on the cloud. This function returns promise pattern result, it has to be call in Promise Pattern with .then(onsuccess, onError) function.

Links
Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!