Click or drag to resize
WebUser Class
This class represents a system user.
Inheritance Hierarchy

Namespace: ArtDatabanken.WebService.Data
Assembly: ArtDatabanken.WebService.Data (in ArtDatabanken.WebService.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
public class WebUser : WebData

The WebUser type exposes the following members.

Constructors
  NameDescription
Public methodWebUser
Initializes a new instance of the WebUser class
Top
Properties
  NameDescription
Public propertyActivationKey
Activation key. Is generated by user web service when a user is crated.
Public propertyAdministrationRoleId
AdministrationRoleId. Optional.
Public propertyApplicationId
ApplicationId. Mandatory if User Type is "Application".
Public propertyAuthenticationType
Authentication type. Default type is 0, which corresponds to Form Autentication. Currently this is the only type handled.
Public propertyCreatedBy
Id of the user who created this user. Set by database when this user was created.
Public propertyCreatedDate
Date when this user was created. Set by database when this user was created.
Public propertyEmailAddress
E-mail address. If User type is Person, E-mail address is mandatory. EmailAddress is allways equal to Person. EmailAddress if person user.
Public propertyGUID
GUID (Globally Unique Identifier) for this object. It is a LSID, which is unique for each version of the record holding the information included in this object. It is updated automatically by database each time information is saved.
Public propertyId
Id for this user. Set by database when inserted.
Public propertyIsAccountActivated
Is Account activated. Not null. Is set to false by default. Is set to true by Activation method when User account is sucessfully activated.
Public propertyIsAdministrationRoleIdSpecified
Is administration role id specified.
Public propertyIsApplicationIdSpecified
Is ApplicationId Specified.
Public propertyIsPersonIdSpecified
Is Person Id Specified.
Public propertyModifiedBy
Id of the User that modified the record. Set by database when record is modified.
Public propertyModifiedDate
Date record was last modified
Public propertyPersonId
Person id. Nullable, but should have a value if UserType is set to Person.
Public propertyShowEmailAddress
Show E-mail address. Is set to False by default in database. If False E-mail should not be exposed to public users. It should only be set to true by the user if the user wants to expose its E-mail to all users.
Public propertyType
UserType: Application or Person. Not Null. Value is set when object is created.
Public propertyUserName
User name. Mandatory unique identifier for the user account. The value is set by method during registration.
Public propertyValidFromDate
Date user is valid from. Not Null. Is set to date created by default.
Public propertyValidToDate
Date user is valid to. Not Null. Is set to date created + 100 years by default.
Top
Extension Methods
  NameDescription
Public Extension MethodCheckNotNull
Check that an argument is not null.
(Defined by ObjectExtension.)
Public Extension MethodCheckNull
Check that an argument is null.
(Defined by ObjectExtension.)
Public Extension MethodIsNotNull
Test if an object reference is not null.
(Defined by ObjectExtension.)
Public Extension MethodIsNull
Test if an object reference is null.
(Defined by ObjectExtension.)
Top
See Also