コード例 #1
0
        public void CheckDelegateActivity(Guid authenticatedActorId, Guid flowId, string delegateActorId)
        {
            IAuthorizationHandler authorizationHandler = GetHandlerFromFlowId(flowId);

            if (authorizationHandler != null)
            {
                authorizationHandler.CheckDelegateActivity(authenticatedActorId, flowId, delegateActorId);
            }
        }
コード例 #2
0
        public void CheckDelegateActivity(String authenticatedActorId, Int64 flowId, String delegateActorId, DbSession dbSession)
        {
            IAuthorizationHandler authorizationHandler = GetHandlerFromFlowId(flowId, dbSession);

            if (authorizationHandler != null)
            {
                authorizationHandler.CheckDelegateActivity(authenticatedActorId, flowId, delegateActorId);
            }
        }