UserMacroIdentityHelperSetMacroIdentityInternal 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: 12.0.0
Syntax 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