Click or drag to resize
UserMacroIdentityHelperSetMacroIdentityInternal Method
Assigns MacroIdentityInfo identified by macroIdentityId to userInfo. Clears user's identity when macroIdentityId is 0.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 11.0.0
Syntax
C#
protected virtual void SetMacroIdentityInternal(
	IUserInfo userInfo,
	int macroIdentityId
)

Parameters

userInfo
Type: CMS.BaseIUserInfo
User whom to assign the macro identity.
macroIdentityId
Type: SystemInt32
Macro identity identifier.
See Also