UserResourceTemplate class

From Catglobe Wiki
Revision as of 08:26, 2 July 2020 by Administrator (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

UserResourceTemplate


A user type resource template.

Parent class

Inherits from ResourceTemplate

Constructors

  • (string name "Resource name") - Create a new User resource template

Methods

  • (From ResourceTemplate) Empty DefaultLanguage(string isocode "Iso code to set as default") - Which Localized Name is the default
  • (From ResourceTemplate) Empty Save() - Save the ResourceTemplate resource
  • (From ResourceTemplate) Empty SaveProperties() - Save the properties of the ResourceTemplate resource. Ignores changes to all constant options in use
  • (From object) string ToString() - The string representation of the object.

Properties

  • bool CanUpdateMyPortal { get; set; } - Is the user allowed to update their own MyPortal layout
  • (From ResourceTemplate) string LocalizedName { get; } - Localized Name for current user of the ResourceTemplate resource
  • (From ResourceTemplate) Dictionary LocalizedNames { get; set; } - Localized Name of the ResourceTemplate resource
  • string ObjectTypeName { get; } - The name of the type of object.
  • (From ResourceTemplate) array Properties { get; } - Get the list of current properties. Use AddProperty/RemoveProperty to edit order
  • (From ResourceTemplate) int ResourceId { get; } - The Id of the ResourceTemplate
  • (From ResourceTemplate) string ResourceName { get; } - Name of the ResourceTemplate resource
  • (From ResourceTemplate) int ResourceTemplateType { get; } - The type of resource that this ResourceTemplate covers
  • (From ResourceTemplate) bool ResourceTimeregEnabled { get; set; } - Get/set ResourceTimeregEnabled
  • bool TwoFaDisallowEmailCheckBox { get; set; } - After initial setup, do not fall back on email to setup new device
  • bool TwoFaEnabled { get; set; } - May people use 2fa (webauthn) at all? If not set, all other TwoFa settings are not used
  • bool TwoFaIgnoreForQas { get; set; } - Do not require webauthn for answering questionnaire (backwards compatible)
  • bool TwoFaRequireCrossPlatFormOrHardware { get; set; } - Require higher level of security access, user must use physical tokens or crossplatform authentication
  • bool TwoFaRequired { get; set; } - Must they use 2fa always?
  • bool TwoFaRequirePasswordAlso { get; set; } - The user must also write a password along with authenticating against webauthn
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.