Click or drag to resize

ShareFactoryCreateDefaults Method (IContext, ShareObjectType, Int32, IUser, NullableInt32)

Creates default sharing

Namespace:  AskiaPortalCmn
Assembly:  AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax
public static IReturnValue CreateDefaults(
	IContext context,
	ShareObjectType objectType,
	int objectId,
	IUser user,
	Nullable<int> surveyId = null
)

Parameters

context
Type: AskiaPortalCmnIContext
Execution context
objectType
Type: AskiaPortalCmnShareObjectType
Type of the shared object
objectId
Type: SystemInt32
Id of the shared object
user
Type: AskiaPortalCmnIUser
The user
surveyId (Optional)
Type: SystemNullableInt32
Id of the survey

Return Value

Type: IReturnValue
Returns success result when the process was successfully done.
See Also