UserMacroIdentityHelperSetMacroIdentity Method |
Assigns
MacroIdentityInfo identified by
macroIdentityId to
userInfo.
Clears user's identity when
macroIdentityId is 0.
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 11.0.0
Syntax 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