Search Results for

    Show / Hide Table of Contents

    Read property

    Name

    Sdl.MultiTerm.TMO.Interop.EntryClassPermissions.Read — Indicates whether the currently logged-in user has read-access to a particular class.

    Type

    Boolean (read)

    Index Parameters

    none

    Description

    This property returns true if the currently logged-in user has read-access to entries of a particular entry class. This will always be the case, for if a user can access the class, he/she at least has read-only access to it.

    Sample

    //select termbase
    Termbase oTb = oTbs["Termbase name"];
    
    //retrieve the termbase access permissions of the currently logged-in user
    TermbaseAccessPermissions oPermissions = oTb.AccessPermissions;
    EntryClassesPermissions oClasses = oPermissions.EntryClasses;
    
    //list all available entry classes
    for(int i=0;i<oClasses.Count;i++)
    {
       	EntryClassPermissions oClass = oClasses[i];
       	Debug.WriteLine(oClass.Name);
       	Debug.WriteLine("Do I have read-access to this class? " + oClass.Read);
    }
    
    • Improve this Doc
    In this article
    Back to top Generated by DocFX