Click or drag to resize
UserMacroIdentityHelperSetMacroIdentity 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#
public static void SetMacroIdentity(
	IUserInfo userInfo,
	int macroIdentityId
)

Parameters

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