Click or drag to resize

SurveyFactoryFindAllForUserOnModule Method

Find all surveys available for the specified user on the current module.

Namespace:  AskiaPortalCmn
Assembly:  AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax
public static IEnumerable<ISurvey> FindAllForUserOnModule(
	IContext context,
	IUser user,
	Nullable<Guid> moduleGuid = null,
	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 associated with the surveys. Current module if null.
filter (Optional)
Type: AskiaPortalCmn.CommonQueryAllFilter
Filter to apply on query.

Return Value

Type: IEnumerableISurvey
Return an object to iterate through the list of surveys.
Remarks
Use the current module if the module GUID is null.
See Also