Пример #1
0
        /// <summary>
        /// 工作流状态
        /// </summary>
        /// <param name="vault"></param>
        /// <param name="aliasOrId"></param>
        /// <returns></returns>
        public static int GetWorkflowState(Vault vault, string aliasOrId, bool throwOnError = true)
        {
            var ma = new MfAlias(aliasOrId);

            return(ma.GetWorkflowState(vault, throwOnError));
        }
Пример #2
0
        /// <summary>
        /// 用户组
        /// </summary>
        /// <param name="vault"></param>
        /// <param name="aliasOrId"></param>
        /// <returns></returns>
        public static int GetUsergroup(Vault vault, string aliasOrId, bool throwOnError = true)
        {
            var ma = new MfAlias(aliasOrId);

            return(ma.GetUsergroup(vault, throwOnError));
        }
Пример #3
0
        /// <summary>
        /// 对象类别
        /// </summary>
        /// <param name="vault"></param>
        /// <param name="aliasOrId"></param>
        /// <returns></returns>
        public static int GetObjectClass(Vault vault, string aliasOrId, bool throwOnError = true)
        {
            var ma = new MfAlias(aliasOrId);

            return(ma.GetObjectClass(vault, throwOnError));
        }