Click or drag to resize
MacroIdentityOption Class
Encapsulates identity option for macros.
Inheritance Hierarchy
SystemObject
  CMS.MacroEngineMacroIdentityOption

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 11.0.0
Syntax
C#
[SerializableAttribute]
public class MacroIdentityOption

The MacroIdentityOption type exposes the following members.

Constructors
  NameDescription
Public methodMacroIdentityOption
Top
Properties
  NameDescription
Public propertyIdentityName
Name of macro identity to be used when signing by macro identity is desired.
Public propertyUserName
Name of user to be used when signing by user is desired.
Top
Methods
  NameDescription
Public methodStatic memberFromUserInfo
Creates a new identity option from user info.
Public methodGetEffectiveUser
Gets effective user of macro identity identified by IdentityName when its value is provided. Otherwise gets user identified by UserName.
Public methodStatic memberIsNullOrEmpty
Indicates whether identityOption is null or both its IdentityName and UserName properties are null or empty.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Remarks
When both IdentityName and UserName are specified, the identity name has precedence.
See Also