UserInfo Class |
Namespace: CMS.Membership
[SerializableAttribute] public class UserInfo : AbstractInfo<UserInfo>, IUserInfo, IDataContainer, ISimpleDataContainer
The UserInfo type exposes the following members.
Name | Description | |
---|---|---|
UserInfo |
Constructor - Creates an empty UserInfo object.
| |
UserInfo(DataRow) |
Constructor - Creates a new UserInfo object from the given DataRow.
| |
UserInfo(SerializationInfo, StreamingContext) |
Constructor for de-serialization.
| |
UserInfo(UserInfo, Boolean, Boolean) |
Constructor - Creates a new UserInfo object from the given DataClass.
|
Name | Description | |
---|---|---|
GLOBAL_ROLES_KEY |
Constant for global roles in siteroles collection.
| |
mDataClass |
Data class with the SiteInfo data.
(Inherited from AbstractInfoBaseTInfo.) | |
mStatus |
Status of the object.
(Inherited from BaseInfo.) | |
OBJECT_TYPE |
Object type
| |
TYPEINFO |
Type information.
|
Name | Description | |
---|---|---|
AllowClone |
Indicates if the object supports cloning.
(Inherited from BaseInfo.) | |
AllowPartialUpdate |
If true, the object allows partial updates.
(Inherited from AbstractInfoBaseTInfo.) | |
AllowRestore |
Indicates if the object supports deleting to recycle bin.
(Inherited from BaseInfo.) | |
AllowTouchParent |
Indicates if parent is allowed to be touched, if exists.
(Inherited from BaseInfo.) | |
AssignedSites |
Collection of the sites to which the object is associated via site bindings (M:N relationships).
(Inherited from BaseInfo.) | |
Bindings |
Collection of the binding objects for the given object where the current object is a parent of the binding.
(Inherited from BaseInfo.) | |
CacheParentData |
If true, the parent object data is cached within object.
(Inherited from BaseInfo.) | |
CheckUnique |
If true, the code name is checked for uniqueness upon saving.
(Inherited from BaseInfo.) | |
ChildDependencies |
Collection of the child dependencies for the given object. These are objects which should be included into the parent data (for example class data for BizForms), but aren't direct child of the object.
(Inherited from BaseInfo.) | |
Children |
Collection of the child objects for the given object.
(Inherited from BaseInfo.) | |
ClassName |
Returns the class name of this object
(Inherited from AbstractInfoBaseTInfo.) | |
ClearCacheMethods |
Dictionary with the methods for clearing the internal object cache [columnName] => [clearCacheAction]
(Inherited from AbstractInfoBaseTInfo.) | |
CodeNameChanged |
Returns whether the object code name changed or not
(Inherited from AbstractInfoBaseTInfo.) | |
CodeNameColumn |
Code name column name of the info record.
(Inherited from BaseInfo.) | |
ColumnNames |
Column names.
(Inherited from AbstractInfoBaseTInfo.) | |
CustomizedColumns |
Gets the list of customized columns in current object
(Inherited from BaseInfo.) | |
DataClass |
Data class with the info object data.
(Inherited from AbstractInfoBaseTInfo.) | |
DeleteFiles |
Indicates if all physical files should be deleted when object will be deleted.
(Inherited from AbstractInfoBaseTInfo.) | |
DisplayNameColumn |
Display name column name of the info record.
(Inherited from BaseInfo.) | |
E-mail address.
| ||
Enabled |
Indicates whether the user is enabled.
| |
FirstName |
First name of user.
| |
Friends |
Returns the collection with user's friends.
| |
FullName |
Full name of user.
| |
Generalized |
Generalized interface of this object.
(Inherited from AbstractInfoBaseTInfo.) | |
Groups |
Returns the collection with user's groups.
| |
HasChanged |
Returns true if the object changed.
(Inherited from AbstractInfoBaseTInfo.) | |
HasData |
Returns true if the object has it's data storage initialized already
(Inherited from AbstractInfoBaseTInfo.) | |
Icon |
Object icon
(Inherited from BaseInfo.) | |
IgnoreExternalColumns |
If true, externally stored columns are ignored and are stored normally in DB.
(Inherited from BaseInfo.) | |
InstanceGUID |
Returns the object instance GUID
(Inherited from BaseInfo.) | |
IsCachedObject |
If true, the object is cached within the system for later use
(Inherited from BaseInfo.) | |
IsCheckedOut |
Indicates if the object is checked out.
(Inherited from BaseInfo.) | |
IsCheckedOutByUserID |
Gets ID of the user who checked the object out.
(Inherited from BaseInfo.) | |
IsClone |
Indicates if the object is clone.
(Inherited from BaseInfo.) | |
IsComplete |
Returns true if the object is complete (has all columns).
(Inherited from AbstractInfoBaseTInfo.) | |
IsDisconnected |
Returns true if this collection is disconnected from the database
(Inherited from BaseInfo.) | |
IsExternal |
True if the user is external.
| |
IsGlobal |
Returns true if the object is global object. False if the object belongs to specific site only.
(Inherited from BaseInfo.) | |
IsObjectValid |
Returns true if the object is considered valid.
(Inherited from BaseInfo.) | |
Item |
Gets or sets the value of the column.
(Inherited from BaseInfo.) | |
LastLogon |
Last logon of user.
| |
LastName |
Last name.
| |
LogEvents |
If true, Events tasks are logged on the object update.
(Inherited from BaseInfo.) | |
LogExport |
If true, export tasks are logged on the object update.
(Inherited from BaseInfo.) | |
LogIntegration |
If true, integration tasks are being logged.
(Inherited from BaseInfo.) | |
LogSynchronization |
Indicates how should be handled the logging of synchronization tasks on the object update.
(Inherited from BaseInfo.) | |
LogWebFarmTasks |
If true, web farm tasks are logged on the object update.
(Inherited from BaseInfo.) | |
MetaFiles |
Collection of the metafiles belonging to the object.
(Inherited from BaseInfo.) | |
MiddleName |
Middle name of user.
| |
Name |
Returns the code name of the object
(Inherited from BaseInfo.) | |
ObjectCategory |
Object category.
(Inherited from BaseInfo.) | |
ObjectCodeName |
Object code name.
(Inherited from BaseInfo.) | |
ObjectDisplayName |
Gets or sets the display name of the user. The display name is read from and written to the FullName property.
Gets the formatted user name inferred from UserName, if user has no full name specified.
(Overrides BaseInfoObjectDisplayName.) | |
ObjectFullName |
Object full name if exists
(Inherited from BaseInfo.) | |
ObjectGroupID |
Object community group ID.
(Inherited from BaseInfo.) | |
ObjectGUID |
Object GUID.
(Inherited from BaseInfo.) | |
ObjectIcon |
Object icon metafile.
(Inherited from BaseInfo.) | |
ObjectIconGUID |
Object icon GUID.
(Inherited from BaseInfo.) | |
ObjectID |
Object ID.
(Inherited from BaseInfo.) | |
ObjectIsCustom |
Indicates if object is custom.
(Inherited from BaseInfo.) | |
ObjectIsCustomized |
Indicates if object is customized.
(Inherited from BaseInfo.) | |
ObjectLastModified |
Last modified time.
(Inherited from BaseInfo.) | |
ObjectOrder |
Returns the order of the object among the other objects.
(Inherited from BaseInfo.) | |
ObjectParent |
Object parent.
(Inherited from BaseInfo.) | |
ObjectParentID |
Object parent ID.
(Inherited from BaseInfo.) | |
ObjectSettings |
Object settings
(Inherited from BaseInfo.) | |
ObjectSite |
Returns the object site.
(Inherited from BaseInfo.) | |
ObjectSiteID |
Object site ID.
(Inherited from BaseInfo.) | |
ObjectSiteName |
Object site name.
(Inherited from BaseInfo.) | |
ObjectStatus |
Returns the current status of the object.
(Inherited from BaseInfo.) | |
ObjectThumbnail |
Object thumbnail metafile.
(Inherited from BaseInfo.) | |
ObjectThumbnailGUID |
Object thumbnail GUID.
(Inherited from BaseInfo.) | |
ObjectVersionGUID |
Object version GUID.
(Inherited from BaseInfo.) | |
Orders |
Collection or users orders made on current site.
| |
OriginalObjectCodeName |
Returns the original object code name
(Inherited from AbstractInfoBaseTInfo.) | |
OtherBindings |
Collection of the binding objects for the given object where the current object is not a parent of the binding (parent object is on the second side).
(Inherited from BaseInfo.) | |
Parent |
Object parent
(Inherited from BaseInfo.) | |
ParentObjectType |
Parent object type.
(Inherited from BaseInfo.) | |
PasswordFormat |
Format of the stored user password.
| |
PreferredCultureCode |
Preferred culture code.
| |
PreferredUICultureCode |
Preferred UI culture code.
| |
PrioritizedProperties |
Gets the list of properties which should be prioritized in the macro controls (IntelliSense, MacroTree).
(Inherited from BaseInfo.) | |
Processes |
Collection of the processes belonging to the object.
(Inherited from BaseInfo.) | |
Properties |
Properties of the object
(Inherited from AbstractInfoBaseTInfo.) | |
PurchasedProducts |
Collection of all products purchased by user at all sites.
| |
ReferringObjects |
Collection of the objects depending on this object (object which have FK to this object).
(Inherited from BaseInfo.) | |
RegisteredProperties |
Registered properties
(Inherited from AbstractInfoBaseTInfo.) | |
RelatedData |
Custom data connected to the object.
(Inherited from BaseInfo.) | |
ScheduledTasks |
Collection of the scheduled tasks belonging to the object.
(Inherited from BaseInfo.) | |
SearchType |
Gets the type of current object.
(Overrides AbstractInfoBaseTInfoSearchType.) | |
Site |
Object site
(Inherited from BaseInfo.) | |
SiteIndependentPrivilegeLevel |
Indicates privilege level of user.
| |
SitesRoles |
Returns collection of the user Sites and roles.
| |
SupportsVersioning |
Indicates if the object versioning is supported. Default false
(Inherited from BaseInfo.) | |
Thumbnail |
Object thumbnail
(Inherited from BaseInfo.) | |
TimeZoneInfo |
Gets the user's time zone information.
| |
TouchCacheDependencies |
If true, cache dependencies are touched when the object is changed.
(Inherited from BaseInfo.) | |
TypeInfo |
Object type information.
(Inherited from BaseInfo.) | |
UpdateTimeStamp |
If true, timestamp of the object is updated when saved.
(Inherited from BaseInfo.) | |
UpdateVersionGUID |
If true, version GUID of the object is updated when saved.
(Inherited from AbstractInfoBaseTInfo.) | |
UserAccountLockReason |
Gets or sets number representing reason for user account lock
| |
UserAuthenticationGUID |
Temporary GUID for user identification for automatic sign-in in the CMS Desk.
| |
UserAvatarID |
User avatar ID.
| |
UserCampaign |
User campaign.
| |
UserCreated |
When was user created.
| |
UserCustomData |
User custom data.
| |
UserDescription |
User description.
| |
UserEnabled |
Indicates whether user is enabled.
| |
UserGUID |
User GUID.
| |
UserHasAllowedCultures |
If user has allowed more than one culture.
| |
UserID |
User ID.
| |
UserInvalidLogOnAttempts |
Gets or sets number of user invalid logon attempts.
| |
UserInvalidLogOnAttemptsHash |
User password change request hash.
| |
UserIsDisabledManually |
Indicates if user was disabled manually by admin.
| |
UserIsDomain |
Determines whether user is domain user.
| |
UserIsExternal |
Indicated whether user is external.
| |
UserIsHidden |
Indicates whether user is hidden.
| |
UserLastLogonInfo |
User last logon info.
| |
UserLastModified |
Object last modified.
| |
UserMessagingNotificationEmail |
Messaging notification email.
| |
UserMFRequired |
Multi-factor authentication is required for user.
| |
UserMFSecret |
Secret used in MFA.
| |
UserMFTimestep |
Timestep of the last valid passcode used by the user to authenticate.
| |
UserName |
User name.
| |
UserNickName |
User nick name.
| |
UserPasswordExpiration |
Return number of days before user password expiration, null value means that password will never expire,
positive values indicates number of days the password is expired and negative value indicates number of days before expiration
| |
UserPasswordFormat |
Format of user's password.
| |
UserPasswordLastChanged |
Gets or sets time of last password change
| |
UserPasswordRequestHash |
User password change request hash.
| |
UserPicture |
User picture.
| |
UserSecurityStamp |
A unique value used for tracking changes to the user profile.
Used for security purposes.
| |
UserSettings |
Gets the UserSettings info object for the user.
| |
UserSignature |
User signature.
| |
UserStartingAliasPath |
Starting alias path of user.
| |
UserTimeZoneID |
User time zone ID.
| |
UserURLReferrer |
URL Referrer of user.
| |
UserVisibility |
Contains XML with user's custom form field visibility settings.
| |
ValidateCodeName |
If true, the code name is validated upon saving.
(Inherited from BaseInfo.) | |
VersioningEnabled |
Indicates if the object versioning is enabled by the settings.
(Inherited from BaseInfo.) | |
Wishlist |
Collection of all users wishlist items from all sites.
|
Name | Description | |
---|---|---|
AddColumnPrefixesWhereCondition |
Adds restriction to given where filtering out all rows where given column starts with one of excluded prefixes found in TypeInfo default data settings.
(Inherited from BaseInfo.) | |
AllowExternalColumn |
Indicates whether a given column is allowed to be saved externally.
(Inherited from AbstractInfoBaseTInfo.) | |
AnyItemChanged |
Returns true if any of specified columns changed.
(Inherited from AbstractInfoBaseTInfo.) | |
BuildObjectPath |
Builds the path from the given column.
(Inherited from BaseInfo.) | |
ChangedColumns |
Returns list of column names which values were changed.
(Overrides AbstractInfoBaseTInfoChangedColumns.) | |
CheckDefaultPermissions |
Check universal permissions for an object
(Inherited from BaseInfo.) | |
CheckDependencies |
Checks object for dependent objects. Returns true if there is at least one dependent object.
First tries to execute checkdependencies query, if not found, an automatic process is executed.
(Inherited from BaseInfo.) | |
CheckLicense |
Checks the object license. Returns true if the licensing conditions for this object were matched
(Overrides BaseInfoCheckLicense(ObjectActionEnum, String).) | |
CheckPermissions |
Checks whether the specified user has permissions for this object.
(Inherited from BaseInfo.) | |
CheckPermissionsInternal |
Checks whether the specified user has permissions for this object. This method is called automatically after CheckPermissions event was fired.
(Overrides BaseInfoCheckPermissionsInternal(PermissionsEnum, String, IUserInfo, Boolean).) | |
CheckPermissionsWithHandler |
Checks whether the specified user has permissions for this object. Outcome of this method is determined by combining results of CheckPermissions event and CheckPermissionsInternal method.
(Inherited from BaseInfo.) | |
CheckPrivilegeLevel |
Returns true if user fulfills the required privilege level (the higher level contains all children: GlobalAdmin -> Admin -> Editor -> None)
| |
CheckUniqueCodeName |
Checks if the object has unique code name. Returns true if the object has unique code name.
(Inherited from BaseInfo.) | |
CheckUniqueValues |
Checks if a record with the same column values already exists in the database. Returns true if the set of values is unique.
(Inherited from BaseInfo.) | |
ClearCache |
Clears the nested cached objects
(Inherited from BaseInfo.) | |
ClearCachedData |
Clears the cached data of this object
| |
ClearCachedValues |
Clears the cached values depending on the given column value.
(Inherited from BaseInfo.) | |
ClearData |
Clears data from the object.
(Inherited from BaseInfo.) | |
Clone |
Creates a clone of the object
(Overrides AbstractInfoBaseTInfoClone.) | |
Clone(Boolean) |
Creates a clone of the object
(Overrides AbstractInfoBaseTInfoClone(Boolean).) | |
CloneObject |
Creates the clone of the object
(Inherited from AbstractInfoBaseTInfo.) | |
ColumnsChanged |
Returns true if at least one column of the column list provided as the first argument was changed.
(Inherited from AbstractInfoBaseTInfo.) | |
CombineColumnNames(ICollection) |
Combines column names from supplied collections into a list and caches it in mCombinedColumnNames.
Does nothing when column names are already cached unless TypeInfo has ColumnsInvalidated set to true.
Returns combined column names.
(Inherited from AbstractInfoBaseTInfo.) | |
CombineColumnNames(String) |
Combines supplied column names into a list and caches it in mCombinedColumnNames.
Does nothing when column names are already cached unless TypeInfo has ColumnsInvalidated set to true.
Returns combined column names.
(Inherited from AbstractInfoBaseTInfo.) | |
CompareTo |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from BaseInfo.) | |
ContainsColumn |
Returns true if the object contains given column.
(Overrides AbstractInfoBaseTInfoContainsColumn(String).) | |
ConvertServerDateTime |
Returns server date time in dependence on server time zone.
| |
ConvertUserDateTime |
Returns current user date time in dependence on user time zone.
| |
CopyCachedDataTo |
Copies the cached data to another UserInfo object
| |
CopyExternalColumns |
Copy value of external columns directly via set value
(Inherited from BaseInfo.) | |
CopyMemoryProperties |
Copies memory properties
(Inherited from BaseInfo.) | |
CopyProperties |
Copies memory properties
(Inherited from AbstractInfoBaseTInfo.) | |
CreateNewRolesDictionary |
Creates a new empty dictionary for storing roles
| |
DataChanged |
Returns true if the object changed.
(Inherited from AbstractInfoBaseTInfo.) | |
Delete |
Deletes the object using appropriate provider
(Inherited from BaseInfo.) | |
DeleteData |
Deletes the object.
(Inherited from AbstractInfoBaseTInfo.) | |
DeleteDataInternal |
Deletes the object data from the database
(Inherited from AbstractInfoBaseTInfo.) | |
DeleteExternalColumns |
Goes through the columns which are stored externally and deletes all the files.
(Inherited from AbstractInfoBaseTInfo.) | |
DeleteMetafiles |
Deletes the metafiles related to this object
(Inherited from AbstractInfoBaseTInfo.) | |
DeleteObject |
Deletes the object using appropriate provider.
(Overrides AbstractInfoBaseTInfoDeleteObject.) | |
Destroy |
Destroys the object including its version history using appropriate provider
(Inherited from BaseInfo.) | |
Disconnect |
Disconnects the collection from the database.
(Inherited from BaseInfo.) | |
EnsureBinaryData |
Makes sure that the binary data is loaded into binary column of the object when StoreToFileSystem is true.
(Inherited from BaseInfo.) | |
EnsureBinaryData(Boolean) |
Makes sure that the binary data is loaded into binary column of the object.
(Inherited from BaseInfo.) | |
EnsureCodeName |
Ensures the code name of the object if not set
(Inherited from BaseInfo.) | |
EnsureData |
Creates a new data class container within the object
(Inherited from AbstractInfoBaseTInfo.) | |
EnsureGUID |
Ensures the GUID of the object
(Inherited from BaseInfo.) | |
EnsureHierarchyColumns |
Ensures the IDPath and Level columns.
(Inherited from BaseInfo.) | |
EnsureLastModified |
Ensures the last modified time stamp of the object
(Inherited from BaseInfo.) | |
EnsureUniqueCodeName |
Ensures that the object has a unique code name within it's context
(Inherited from BaseInfo.) | |
ExecuteWithOriginalData |
Executes the given action using original data of the object.
(Inherited from AbstractInfoBaseTInfo.) | |
ExportDefaultData |
Exports the default object installation data
(Inherited from BaseInfo.) | |
FilterSearchResults |
Filters the user search results
| |
Finalize |
Destructor
(Inherited from BaseInfo.) | |
GetAutomaticCodeName |
Gets the automatic code name for the object
(Inherited from BaseInfo.) | |
GetAutomaticProperty |
Tries to get the automatic property value for underlying object
(Inherited from AbstractInfoBaseTInfo.) | |
GetBinaryData |
Returns the BinaryData object of the current instance. Has to be overridden by specific classes. Returns null by default.
(Inherited from BaseInfo.) | |
GetBooleanValue |
Gets the boolean value from the object.
(Inherited from BaseInfo.) | |
GetCacheDependencies |
Gets collection of dependency keys to be touched when modifying the current object.
(Inherited from BaseInfo.) | |
GetChildDependencies |
Gets the child dependencies repository
(Inherited from BaseInfo.) | |
GetChildWhereCondition |
Gets the child object where condition.
(Overrides BaseInfoGetChildWhereCondition(WhereCondition, String).) | |
GetColumnNames |
Gets the default list of column names for this class
(Overrides AbstractInfoBaseTInfoGetColumnNames.) | |
GetCount |
Gets count of the objects filtered by given where condition.
(Inherited from BaseInfo.) | |
GetCurrentObjectPathPart |
Builds the path from the given column.
(Inherited from BaseInfo.) | |
GetCustomProperties |
Gets list of custom properties.
(Inherited from BaseInfo.) | |
GetData |
Returns the data according to the set of input parameters.
(Inherited from BaseInfo.) | |
GetDataQueryInternal |
Gets the data query for this object type
(Inherited from BaseInfo.) | |
GetDateTimeValue |
Gets the DateTime value from the object.
(Inherited from BaseInfo.) | |
GetDecimalValue |
Gets the decimal value from the object.
(Inherited from BaseInfo.) | |
GetDefaultData |
Returns the default object installation data
(Inherited from BaseInfo.) | |
GetDefaultDataExportColumns |
Returns names of all columns that should be exported with default data as a comma separated string.
(Inherited from BaseInfo.) | |
GetDefaultDataWhereCondition |
Gets the where condition to filter out the default installation data
(Overrides BaseInfoGetDefaultDataWhereCondition(Boolean, Boolean, IEnumerableString).) | |
GetDefaultObject |
Returns default user set in the settings or Global Administrator if setting is not defined or user not found.
(Overrides BaseInfoGetDefaultObject.) | |
GetDependenciesNames |
Returns a list of object names which depend on this object.
First tries to execute checkdependencies query, if not found, an automatic process is executed.
(Inherited from BaseInfo.) | |
GetDependenciesNamesAuto |
Returns a list of object names which depend on this object.
(Inherited from BaseInfo.) | |
GetDependencyCacheKeys | Obsolete.
Gets collection of dependency keys to be touched when modifying the current object.
(Inherited from BaseInfo.) | |
GetDependencyObjectType |
Gets dependency object type
(Inherited from BaseInfo.) | |
GetDoubleValue |
Gets the double value from the object.
(Inherited from BaseInfo.) | |
GetEditingPageURL |
Gets the object editing page URL.
(Inherited from BaseInfo.) | |
GetExisting |
Returns the existing object based on current object data.
(Inherited from BaseInfo.) | |
GetExistingBase |
Returns single info object and ensures correct GUID vs. code name priority is used (if applicable) after resolving provided whereCondition.
(Inherited from BaseInfo.)If no object match provided whereCondition, null is returned. | |
GetExistingWhereCondition |
Gets a where condition to find an existing object based on current object
(Inherited from BaseInfo.) | |
GetExistingWhereCondition(Boolean) |
Gets a where condition to find an existing object based on current object
(Inherited from BaseInfo.) | |
GetExternalColumnData |
Returns the column data from external storage if exists.
(Inherited from AbstractInfoBaseTInfo.) | |
GetExternalColumns |
Returns the list of columns registered as the external columns.
(Inherited from AbstractInfoBaseTInfo.) | |
GetExternalColumnSettings |
Returns settings for external storage of the column. Returns null by default (which causes the default settings to be used in the external column data storage process).
(Inherited from AbstractInfoBaseTInfo.) | |
GetExternalFiles |
Goes through the columns which are stored externally and returns the list of particular files this object uses.
(Inherited from AbstractInfoBaseTInfo.) | |
GetExternalPath |
Returns path to the external storage with data of the given column. If the column data is not stored in the external storage (not enabled), and the check for enabled is allowed, returns null.
(Inherited from AbstractInfoBaseTInfo.) | |
GetFileInfo |
Returns FileInfo object from external storage if exists.
(Inherited from AbstractInfoBaseTInfo.) | |
GetFormattedUserName |
Returns formatted username in format: full name (nickname) if nickname specified otherwise full name (username).
Allows you to customize how the usernames will look like throughout the admin UI.
| |
GetFullObjectName |
Returns the name of the object within its parent hierarchy.
(Inherited from BaseInfo.) | |
GetGeneralizedInfo |
Gets the generalized info for this object
(Inherited from AbstractInfoBaseTInfo.) | |
GetGenericRoles |
Gets user generic roles.
| |
GetGlobalPermissionName |
Returns name of the global permission name corresponding to the given permission name.
By default, "Global" + permissionName is returned.
(Inherited from BaseInfo.) | |
GetGroupWhereCondition |
Gets the group where condition for the object
(Inherited from BaseInfo.) | |
GetGuidValue |
Gets the guid value from the object.
(Inherited from BaseInfo.) | |
GetIconUrl |
Gets the object icon URL
(Inherited from BaseInfo.) | |
GetIDPathPartLength |
Returns the length of a part of IDPath.
(Inherited from BaseInfo.) | |
GetIntegerValue |
Gets the integer value from the object.
(Inherited from BaseInfo.) | |
GetLastObjectOrder |
Returns number which will be the last order within all the other items (according to Parent, Group and Site settings).
I.e. returns largest existing order + 1.
(Inherited from BaseInfo.) | |
GetLocalColumnNames |
Gets the list of local column names for particular object
(Inherited from AbstractInfoBaseTInfo.) | |
GetLocalProperties |
Gets the list of local properties for particular object
(Inherited from AbstractInfoBaseTInfo.) | |
GetLockObject |
Gets the global lock object for all the instances of the object (locked on "objectType_objectId").
(Inherited from BaseInfo.) | |
GetModifiedFrom |
Gets the DataSet of all the objects modified from specified date.
(Inherited from BaseInfo.) | |
GetNameCollisions |
Gets the list of the name collisions of the given object
(Inherited from BaseInfo.) | |
GetNamePathPartColumn |
Returns the name of the column which is used to build the NamePath
(Inherited from BaseInfo.) | |
GetObject(Int32) |
Gets the object by its ID.
(Inherited from BaseInfo.) | |
GetObject(IWhereCondition, Boolean) |
Gets the object by specified where condition.
(Inherited from BaseInfo.) | |
GetObjectChildren |
Gets the object children repository
(Inherited from BaseInfo.) | |
GetObjectData |
Object serialization.
(Overrides AbstractInfoBaseTInfoGetObjectData(SerializationInfo, StreamingContext).) | |
GetObjectIdentifier |
Gets the object identifier that uniquely identifies the object
(Inherited from BaseInfo.) | |
GetObjectKey |
Gets the unique string key for the object.
(Inherited from BaseInfo.) | |
GetObjectName |
Returns object name combining object type name and object display name.
(Inherited from BaseInfo.) | |
GetObjectOrderID |
Returns ID of the item being ordered. By default return ObjectID. This is overridden in TreeNode, where NodeID has to be supplied.
(Inherited from BaseInfo.) | |
GetObjectTypeForColumn |
Gets the object type for the given column or null if the object type is not found or unknown.
(Overrides BaseInfoGetObjectTypeForColumn(String).) | |
GetOrderIdentityWhereCondition |
Gets order identity where condition to identify the object to be ordered
(Inherited from BaseInfo.) | |
GetOrderQueryParameters |
Creates QueryDataParameters with special macros for object order management.
(Inherited from BaseInfo.) | |
GetOriginalValue |
Returns the original value of column.
(Inherited from AbstractInfoBaseTInfo.) | |
GetOtherBindings |
Gets the repository of other bindings
(Inherited from BaseInfo.) | |
GetParent |
Returns the parent object.
(Inherited from BaseInfo.) | |
GetPermissionName |
Converts PermissionEnum to permission codename which will be checked when CheckPermission() is called.
Derived classes can override this method to change permission which is checked (for example check for global permissions if object is global).
(Inherited from BaseInfo.) | |
GetPermissionObjectType |
Returns the permission object type of the object (checks the SiteID column and SiteBinding columns). According to this value, the permission check is performed.
(Inherited from BaseInfo.) | |
GetPermissionToCheck |
Gets permission to check for the object. By default the Create and Delete permission
is changed to Modify.
(Inherited from BaseInfo.) | |
GetPhysicalFiles |
Gets DataSet with physical files.
(Inherited from BaseInfo.) | |
GetProperty |
Gets the property value.
(Inherited from BaseInfo.) | |
GetPropertyType |
Gets the type of the given property
(Overrides AbstractInfoBaseTInfoGetPropertyType(String).) | |
GetReferringObjects |
Gets the repository of depending objects
(Inherited from BaseInfo.) | |
GetRegisteredProperties |
Gets list of registered properties.
(Inherited from AbstractInfoBaseTInfo.) | |
GetRoleIdList |
Gets all roles for current user.
| |
GetSearchDocument |
Returns index document for current object with dependencies on search index info.
(Inherited from AbstractInfoBaseTInfo.) | |
GetSearchFields |
Returns search fields collection. When existing collection is passed as argument, fields will be added to that collection.
When collection is not passed, new collection will be created and return.
Collection will contain field values only when collection with StoreValues property set to true is passed to the method.
When method creates new collection, it is created with StoreValues property set to false.
(Inherited from AbstractInfoBaseTInfo.) | |
GetSearchID |
Gets the id column value which is used as search id by default.
(Inherited from BaseInfo.) | |
GetSearchImageUrl |
Returns URL to current search result item.
(Inherited from AbstractInfoBaseTInfo.) | |
GetSiblingsQueryInternal |
Gets the parameterized query to get siblings of the object (If there is no parent-child hierarchy, query is parameterized for all objects)
(Inherited from BaseInfo.) | |
GetSiblingsWhereCondition |
Creates where condition according to Parent, Group and Site settings.
(Inherited from BaseInfo.) | |
GetSiteWhereCondition |
Gets the site where condition for the object
(Inherited from BaseInfo.) | |
GetStringValue |
Gets the string value from the object.
(Inherited from BaseInfo.) | |
GetSynchronizedColumns |
Gets the list of synchronized columns for this object.
(Inherited from BaseInfo.) | |
GetThumbnailUrl |
Gets the object thumbnail URL
(Inherited from BaseInfo.) | |
GetUniqueCodeName |
Returns the unique code name for the specified object, does not check duplicity if duplicity occurs within the currentObjectId.
(Inherited from BaseInfo.) | |
GetUniqueDisplayName |
Returns the unique display name for the specified object.
(Inherited from BaseInfo.) | |
GetUniqueName |
Returns the unique code name for the specified object, does not check duplicity if duplicity occurs within the currentObjectId.
(Inherited from BaseInfo.) | |
GetUniqueNameWhereCondition |
Constructs base where condition for checking column value uniqueness. This method can be overridden in child classes to add more conditions.
(Inherited from BaseInfo.) | |
GetValue(String) |
Gets the field value.
(Inherited from AbstractInfoBaseTInfo.) | |
GetValueT(String, T) |
Gets the field value converted to a specified type.
(Inherited from AbstractInfoBaseTInfo.) | |
GetValueForTranslation |
Returns value for translation services. Returns unmodified field content by default.
(Inherited from BaseInfo.) | |
GetVirtualFileRelativePath |
Returns virtual relative path for specific column
Ensures the GUID of the object
(Inherited from BaseInfo.) | |
HasFriend |
Returns friendship status for given user.
| |
InitObjectsOrder |
Inits the proper order of the sibling objects so the order column is consistent.
(Inherited from BaseInfo.) | |
InitObjectsOrderPostprocessing |
Method called after the InitObjectOrder method is called. Override this to do further actions after order initialization.
(Inherited from BaseInfo.) | |
Insert |
Inserts the object using appropriate provider
(Inherited from BaseInfo.) | |
InsertAsClone |
Inserts the object as a new object to the DB with inner data and structure (according to given settings) cloned from the original.
(Inherited from BaseInfo.) | |
InsertAsCloneInternal |
Inserts cloned object to DB.
(Overrides BaseInfoInsertAsCloneInternal(CloneSettings, CloneResult, BaseInfo).) | |
InsertAsClonePostprocessing |
This method is called once the object is completely cloned (with all children, bindings, etc.).
Override if you need to do further actions after the object has been cloned.
(Inherited from BaseInfo.) | |
InsertData |
Inserts the object to the database.
(Inherited from AbstractInfoBaseTInfo.) | |
InsertDataInternal |
Inserts the object data to the database
(Inherited from AbstractInfoBaseTInfo.) | |
Invalidate |
Invalidates the object in the object table.
(Overrides BaseInfoInvalidate(Boolean).) | |
IsAuthorizedPerClassName(String, String) |
Checks whether the user is authorized for given class name and permission, returns true if so.
| |
IsAuthorizedPerClassName(String, String, String, Boolean) |
Checks whether the user is authorized for given class name and permission, returns true if so.
| |
IsAuthorizedPerMetaFile |
Checks whether the user is authorized per meta file for given object type and permission.
| |
IsAuthorizedPerObject(PermissionsEnum, BaseInfo, String) |
Checks whether the user is authorized per object with given object type and permission.
| |
IsAuthorizedPerObject(PermissionsEnum, BaseInfo, String, Boolean) |
Checks whether the user is authorized per object with given object type and permission.
| |
IsAuthorizedPerObject(PermissionsEnum, String, String, Boolean) |
Checks whether the user is authorized per object with given object type and permission.
| |
IsAuthorizedPerResource(String, String) |
Checks whether the user is authorized for given resource name and permission, returns true if so.
| |
IsAuthorizedPerResource(String, String, String) |
Checks whether the user is authorized for given resource name and permission, returns true if so.
| |
IsAuthorizedPerResource(String, String, String, Boolean) |
Returns true if given user is granted with specified permission.
| |
IsAuthorizedPerUIElement(String, String) |
Checks whether the user is authorized for given UI element of the specified resource, returns true if so.
| |
IsAuthorizedPerUIElement(Int32, String, Boolean) |
Checks whether the user is authorized for given UI element of the specified resource, returns true if so.
| |
IsAuthorizedPerUIElement(String, String, Boolean) |
Checks whether the user is authorized for given UI element of the specified resource, returns true if so.
| |
IsAuthorizedPerUIElement(String, String, String) |
Checks whether the user is authorized for given UI element of the specified resource, returns true if so.
| |
IsAuthorizedPerUIElement(String, String, String) |
Checks whether the user is authorized for given resource name and UIElements, returns true if so.
| |
IsAuthorizedPerUIElement(String, String, Boolean, String) |
Checks whether the user is authorized for given UI element of the specified resource, returns true if so.
| |
IsAvailableOnSite |
Checks whether info object as available on given site. Available means that object is global or assigned to given site.
(Inherited from BaseInfo.) | |
IsCheckedOutByUser |
Returns true if the object is checked out by the specified user.
(Inherited from BaseInfo.) | |
IsChildOf |
Returns true if the object is child of the given object. If parameter parent is null, returns true only if the object is not a child of any object.
(Inherited from BaseInfo.) | |
IsCultureAllowed |
Determines whether culture is allowed for given user on given site.
| |
IsGroupAdministrator |
Returns true if the user is administrator of the specified group.
| |
IsGroupMember(Int32) |
Returns true if the user is member of the specified group.
| |
IsGroupMember(String, String) |
Returns true if the user is member of the specified group.
| |
IsInMembership(String, String) |
Check whether current user is in membership
| |
IsInMembership(String, String, Boolean) |
Check whether current user is in membership
| |
IsInRole(String, String) |
Returns true if the user is a member of the role in context of the specified site.
| |
IsInRole(String, String, Boolean, Boolean) |
Returns true if the user is member of the specified role on the specified site (or on global role if check global is true).
| |
IsInSite |
Returns true, if the user is member of the specified site (registered on it).
| |
IsModifiedExternally |
Goes through the columns which are stored externally and checks if the data in DB is the same as in external storage. If all the columns are same returns true, otherwise false.
(Inherited from AbstractInfoBaseTInfo.) | |
IsObjectInvalid |
Returns true if the object is invalid.
(Inherited from BaseInfo.) | |
IsPublic |
Returns true if the user is public user record.
| |
ItemChanged |
Returns true if the item on specified column name changed.
(Inherited from AbstractInfoBaseTInfo.) | |
LoadData |
Loads the object using the given settings
(Inherited from AbstractInfoBaseTInfo.) | |
LoadDefaultData |
Sets the object default values
(Overrides AbstractInfoBaseTInfoLoadDefaultData.) | |
MacroRepresentation |
By default, BaseInfo has no special macro representation.
(Inherited from BaseInfo.) | |
MakeComplete |
Makes the object data complete.
(Overrides AbstractInfoBaseTInfoMakeComplete(Boolean).) | |
NewObject |
Creates new object of the given class based on the given settings
(Inherited from AbstractInfoTInfo.) | |
PermissionCheckException |
Fires an exception in case authorization result is false (denied or insignificant)
(Inherited from BaseInfo.) | |
PropertyPropertyType |
Returns the extension property for the object
(Inherited from AbstractObject.) | |
Reconnect |
Reconnects the collection to the database.
(Inherited from BaseInfo.) | |
RegisterExternalColumn |
Registers external column settings to the hash table.
(Inherited from AbstractInfoBaseTInfo.) | |
RegisterExternalColumns |
Registers external column settings to the hash table.
(Inherited from AbstractInfoBaseTInfo.) | |
RegisterProperties |
Registers properties of the object
(Overrides AbstractInfoBaseTInfoRegisterProperties.) | |
RegisterProperty(String, Object, FuncTInfo, Object, Object) |
Registers the given parametrized property to the object.
(Inherited from AbstractInfoBaseTInfo.) | |
RegisterPropertyTProperty(String, FuncTInfo, Object) |
Registers the given property to the object
(Inherited from AbstractInfoBaseTInfo.) | |
RemoveObjectDependencies |
Removes object dependencies.
(Overrides BaseInfoRemoveObjectDependencies(Boolean, Boolean).) | |
ResetChanges |
Resets the object changes and keeps the new values as unchanged according to the asUnchanged parameter.
(Inherited from AbstractInfoBaseTInfo.) | |
RestoreSettings |
Restores local settings for object instance.
(Overrides BaseInfoRestoreSettings.) | |
RevertChanges |
Reverts the object changes to the original values.
(Inherited from AbstractInfoBaseTInfo.) | |
SaveExternalColumns |
Goes through the columns which are stored externally and ensures them in the external storage.
(Inherited from AbstractInfoBaseTInfo.) | |
SerializationNotSupported |
Throws serialization not supported exception
(Inherited from BaseInfo.) | |
SetData |
Updates or inserts the object to the database.
(Inherited from AbstractInfoBaseTInfo.) | |
SetExternalColumnData |
Saves the column data to the external storage if exists.
Returns true if data was stored in external storage and should not be stored also in DB.
If data should be stored in DB, returns false.
(Inherited from AbstractInfoBaseTInfo.) | |
SetObject |
Updates the object using appropriate provider.
(Overrides AbstractInfoBaseTInfoSetObject.) | |
SetObjectAlphabeticalOrder |
Moves the object to the right position according to the custom order.
(Inherited from BaseInfo.) | |
SetObjectOrder |
Moves the object to the specified order. The move is done within the object's siblings.
(Inherited from BaseInfo.) | |
SetObjectOrderPostprocessing |
Method which is called after the order of the object was changed. Generates staging tasks and webfarm tasks by default.
(Inherited from AbstractInfoBaseTInfo.) | |
SetParent |
Updates the parent object, enables to update the data that is overridden in the parent object before or after it is saved
(Inherited from BaseInfo.) | |
SetReadOnly |
Locks the object as a read-only
(Inherited from AbstractInfoBaseTInfo.) | |
SetValue(String, Object) |
Sets the field value (first look into CMS_User if the field is not found, set into CMS_UserSettings).
(Overrides AbstractInfoBaseTInfoSetValue(String, Object).) | |
SetValue(String, Object, Boolean) |
Sets the object value to the nullable column.
(Inherited from BaseInfo.) | |
SetValue(String, Object, Object) |
Sets the object value to the nullable column.
(Inherited from BaseInfo.) | |
SortAlphabetically |
Sort objects alphabetically.
(Inherited from BaseInfo.) | |
StoreSettings |
Stores local settings for object instance.
(Overrides BaseInfoStoreSettings.) | |
SubmitChanges |
Submits the changes in the object to the database.
(Inherited from BaseInfo.) | |
ToMacroString |
Returns the default text representation in the macros.
(Inherited from BaseInfo.) | |
ToString |
Returns the text representation of the object
(Inherited from BaseInfo.) | |
TouchKeys |
Touches the cache dependency keys of the object to flush the dependent cache items.
(Inherited from AbstractInfoBaseTInfo.) | |
TouchParent |
Updates the parent object by saving it (to update the timestamp).
(Inherited from BaseInfo.) | |
TryGetAutomaticProperty |
Tries to get the automatic property value for underlying object
(Inherited from AbstractInfoBaseTInfo.) | |
TryGetProperty(String, Object) |
Returns value of property.
(Overrides AbstractInfoBaseTInfoTryGetProperty(String, Object).) | |
TryGetProperty(String, Object, Boolean) |
Returns value of property.
(Inherited from BaseInfo.) | |
TryGetValue |
Returns value of column.
(Overrides AbstractInfoBaseTInfoTryGetValue(String, Object).) | |
Update |
Updates the database entity using appropriate provider
(Inherited from BaseInfo.) | |
UpdateData |
Updates the object to the database.
(Inherited from AbstractInfoBaseTInfo.) | |
UpdateDataInternal |
Updates the object data to the database
(Inherited from AbstractInfoBaseTInfo.) | |
UpdateExternalColumns |
Goes through the columns which are stored externally and updates DB versions with the data from external storage.
(Inherited from AbstractInfoBaseTInfo.) | |
UpdateFriendStatus |
Update user friends collection.
| |
UpdateFromDB |
Updates the data of the object from DB (updates also ObjectSettings).
(Inherited from BaseInfo.) | |
UpdatePhysicalFiles |
Saves physical files.
(Inherited from BaseInfo.) | |
UpsertData |
Updates or inserts the object to the database.
(Inherited from AbstractInfoBaseTInfo.) | |
UpsertDataInternal |
Upserts the data to the database
(Inherited from AbstractInfoBaseTInfo.) | |
WriteDefaultData |
Writes the default object installation data into xml file
(Inherited from BaseInfo.) |
Name | Description | |
---|---|---|
CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) | |
IsAuthorizedPerDocument(Int32, String, NodePermissionsEnum) | Overloaded.
Checks if the user is authorized for specified document (Check all CONTENT, CLASS and Document type permissions.
(Defined by UserSecurityExtensions.) | |
IsAuthorizedPerDocument(TreeNode, NodePermissionsEnum, Boolean, String) | Overloaded.
Checks if the user is authorized for specified document (Check all CONTENT, CLASS and Document type permissions.)
(Defined by UserSecurityExtensions.) | |
IsAuthorizedPerDocument(TreeNode, NodePermissionsEnum, Boolean, String) | Overloaded.
Checks if the user is authorized for specified document (Check all CONTENT, CLASS and Document type permissions.
(Defined by UserSecurityExtensions.) | |
IsAuthorizedPerTreeNode(Int32, NodePermissionsEnum) | Overloaded.
Checks whether the user is authorized for the given document and permission, returns the authorization result. Doesn't check the allowed cultures of an user.
(Defined by UserSecurityExtensions.) | |
IsAuthorizedPerTreeNode(Int32, NodePermissionsEnum, String) | Overloaded.
Checks whether the user is authorized for the given document and permission, returns the authorization result. Doesn't check the allowed cultures of an user.
(Defined by UserSecurityExtensions.) | |
IsAuthorizedPerTreeNode(TreeNode, NodePermissionsEnum, Boolean) | Overloaded.
Checks whether the user is authorized for the given document and permission, returns the authorization result.
(Defined by UserSecurityExtensions.) | |
IsAuthorizedPerTreeNode(TreeNode, NodePermissionsEnum, String) | Overloaded.
Checks whether the user is authorized for the given document and permission, returns the authorization result. Doesn't check the allowed cultures of an user.
(Defined by UserSecurityExtensions.) | |
IsAuthorizedPerTreeNode(TreeNode, NodePermissionsEnum, String, Boolean) | Overloaded.
Checks whether the user is authorized for the given document and permission, returns the authorization result.
(Defined by UserSecurityExtensions.) | |
IsAuthorizedToCreateNewDocument(Int32, String) | Overloaded.
Checks whether the user is authorized to create new document.
(Defined by UserSecurityExtensions.) | |
IsAuthorizedToCreateNewDocument(TreeNode, String) | Overloaded.
Checks whether the user is authorized to create new document.
(Defined by UserSecurityExtensions.) | |
Serialize |
Returns object data serialized into the XML element.
(Defined by SerializationExtensions.) | |
ToJSON |
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
ToXML(XmlWriter, Boolean) | Overloaded.
Writes XML representation of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) | |
ToXML(String, Boolean) | Overloaded.
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
ToXML(XmlWriter, ListString, Boolean) | Overloaded.
Writes XML representation of selected columns of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) |