Click or drag to resize
MacroIdentityOptionGetEffectiveUser Method
Gets effective user of macro identity identified by IdentityName when its value is provided. Otherwise gets user identified by UserName.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 11.0.0
Syntax
C#
public IUserInfo GetEffectiveUser()

Return Value

Type: IUserInfo
Returns user to be used when evaluating a macro, or null.
Remarks
This method returns null when IdentityName is provided, but the corresponding signature either does not exists or its MacroIdentityEffectiveUserID is not set.
See Also