SurveyFactoryFindAllForUserNotOnModule Method |
Find all surveys available for the specified user and not available on the current module.
Namespace:
AskiaPortalCmn
Assembly:
AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax public static IEnumerable<ISurvey> FindAllForUserNotOnModule(
IContext context,
IUser user,
Nullable<Guid> moduleGuid = null,
QueryAllFilter filter = QueryAllFilter.NotDeleted
)
Public Shared Function FindAllForUserNotOnModule (
context As IContext,
user As IUser,
Optional moduleGuid As Nullable(Of Guid) = Nothing,
Optional filter As QueryAllFilter = QueryAllFilter.NotDeleted
) As IEnumerable(Of ISurvey)
public:
static IEnumerable<ISurvey^>^ FindAllForUserNotOnModule(
IContext^ context,
IUser^ user,
Nullable<Guid> moduleGuid = nullptr,
QueryAllFilter filter = QueryAllFilter::NotDeleted
)
Parameters
- context
- Type: AskiaPortalCmnIContext
Context of execution - user
- Type: AskiaPortalCmnIUser
User for who to find available surveys. - moduleGuid (Optional)
- Type: SystemNullableGuid
Guid of the module not associated with the surveys. Current module if null. - filter (Optional)
- Type: AskiaPortalCmn.CommonQueryAllFilter
Filter to apply on query.
Return Value
Type:
IEnumerableISurveyReturn an object to iterate through the list of surveys.
Remarks
Use the current module if the module GUID is null.
See Also