示例#1
0
        public static TmSecurityAccessFlags GetSecurityAccessFlags(int tmCid)
        {
            if (Native.RbcGetSecurity(tmCid, out var isAdmin, out var accessFlags) == 0)
            {
                return(TmSecurityAccessFlags.None);
            }

            return((TmSecurityAccessFlags)accessFlags);
        }