The IUserManager type exposes the following members.

Methods

  NameDescription
Public methodActivateUser
Activate (seat) a user. This method assign a seat for the given user in the licenses repository
Public methodAssignObjectDelegates
Assign data procedure delegates to an object selected or created by this manager. This method is exposed, so concrete classes can override its behaviors
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodAssignRelationsDelegates<(Of <<'(TOwner, TTarget, TRelations>)>>)
Assign data procedure delegates to a relations object constructed by this manager. This method is exposed, so concrete classes can override its behaviors
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodCreate
Create object instance and it's corresponding data record. Assign procedure delegates to the object.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodCreateCustomColumn (Inherited from IExtensibleObjectManager<(Of <(<'T>)>)>.)
Public methodCreatePagedRelations<(Of <<'(TOwner, TTargetObject, TTarget>)>>)(TOwner)
Create a "Paged" Relations object, with given owner and target types. The procedure delegates will be assigned to the relations object.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodCreatePagedRelations<(Of <<'(TOwner, TTargetObject, TTarget>)>>)(TOwner, Boolean, Nullable<(Of <<'(Boolean>)>>), Boolean)
Create a "Paged" Relations object with default page size, given owner and target types. The procedure delegates will be assigned to the relations object.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodCreatePagedRelations<(Of <<'(TOwner, TTargetObject, TTarget>)>>)(TOwner, Int32, Boolean, Nullable<(Of <<'(Boolean>)>>), Boolean)
Create a "Paged" Relations object with specific page size, given owner and target types. The procedure delegates will be assigned to the relations object.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodCreateRelations<(Of <<'(TOwner, TTargetObject, TTarget>)>>)(TOwner)
Create a CartellaRelations object, with given owner and target types. The procedure delegates will be assigned to the relations object.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodCreateRelations<(Of <<'(TOwner, TTargetObject, TTarget>)>>)(TOwner, Boolean)
Create a relations object, with given owner and target types. The procedure delegates will be assigned to the relations object. We can decide if the relations is editable this this syntax.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodCreateRelations<(Of <<'(TOwner, TTargetObject, TTarget>)>>)(TOwner, Boolean, array<IFieldCollection>[]()[][])
Create a relations object, with given owner and target types. The procedure delegates will be assigned to the relations object. List of Fields collection for target objects are passed in as parameters in this syntax.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodCreateUser(String, String, String, String, String)
Create an internally authenticated new user
Public methodCreateUser(String, String, String, String, String, IAuthenticatorInformation, String)
Create a new user with external authenticator. If external authenticator is null, create an internally authenticated new user.
Public methodCreateUser(String, String, String, String, String, IAuthenticatorInformation, Boolean, String)
Create a new user with external authenticator. And decide if to activate (seat) it right away. If external authenticator is null, create an internally authenticated new user.
Public methodDeactivateUser
Deactivate (un-seat) a user. This method remove the seat for the given user in the licenses repository
Public methodDelete(String)
Delete an object. In this case, the object is simply marked for deletion.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodDelete(String, Boolean)
Delete an object
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodEditCustomColumn (Inherited from IExtensibleObjectManager<(Of <(<'T>)>)>.)
Public methodGetCustomColumns (Inherited from IExtensibleObjectManager<(Of <(<'T>)>)>.)
Public methodGetMostActiveUsers
Gets the most active users in specified amount of time
Public methodGetNewestMembers
Get the users most recently added to the application
Public methodGetRandomUsers
Public methodGetRecentLogins
Gets IUser objects based on the most recent logins
Public methodGetUserByExternalId
Public methodGetUserByProfileID
Public methodGetUserCreatedItems(String, EntitySortFields, Boolean, IEnumerable<(Of <<'(String>)>>), Boolean)
Public methodGetUserCreatedItems<(Of <<'(T>)>>)(String, EntitySortFields, Boolean, IEnumerable<(Of <<'(String>)>>), Boolean)
Public methodGetUsersByFirstLetter
Public methodGetUsersFiltered
Public methodGetUsersForGroup
Retrieves a paginated list of users for a given group
Public methodGetUsersNotAssignedToCategory
Public methodGetUsersNotInRoleByEntity
Public methodPurge
Purge the given item that is makred as deleted from the database
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodPurgeUser
Public methodRemoveCustomColumn (Inherited from IExtensibleObjectManager<(Of <(<'T>)>)>.)
Public methodRemoveUser(IUser%)
Public methodRemoveUser(Boolean, IUser%)
Remove a specific user
Public methodRestore
Restore an object marked for deletion
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodSelect
Instantiates a cartella object with the given field collection Should only be used for objects already created in the data store
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodSelectNonAdminUsers
/// Select all non-admin/non-system users.
Public methodSelectSingle
Create object instance to represent an existing data record, with given unique ID value. Assign procedure delegates to the object.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodSelectSingleUser
Select a single user by ID
Public methodSelectUsers()()()()
Select all users.
Public methodSelectUsers(IFolio)
Select the user has specified roles in the folio.
Public methodSelectUsersByRole
Select all users with a given role
Public methodSelectUsersByUserName
Select all users with specified username.

Properties

  NameDescription
Public propertyCurrentUserState
Retrieve the on-going state for logged-in user. If nobody logged in, return null
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertyDeletedObjects
Retrieve the array of objects that has been marked for deletion.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertyExecutingDataProcedures
Get the collection of all procedures involving the manager, its object type, and cartella relations with its object type as owner type. Readonly
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertyGroupManager
Get the GrouperManager
Public propertyLicenseManager
Get the LicenseManager user specific instance.
Public propertyObjectType
Return the CartellaObject Type this manager is in charge of managing
(Inherited from IManager.)
Public propertyPermanentDeleteByDefault
Get the object deletion setting of this manager object, if it will delete object permenants. The value differs by object types.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertyProcedure_Delete
Get the delete procedure delegate for the manager
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertyProcedure_Insert
Get the insert procedure delegate for the manager
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertyProcedure_Purge
Get the purge procedure delegate for the manager
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertyProcedure_Restore
Get the restore procedure delegate for the manager
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertyProcedure_SelectMultiple
Get the select-multiple procedure delegate for the manager
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertyProcedure_SelectSingle
Get the select-single procedure delegate for the manager
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertyReadOnly
The manager is read-only, if it cannot create, delete, remove, purge, restore objects. Read-only manager is only in charge of selecting objects and relations. Returns true if the manager is read-only.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertySiteManager
Get the SiteManager for this manager.
(Inherited from IManager.)

Events

  NameDescription
Public eventObjectCreated
Event to fire, when object is created by manager
(Inherited from IManager.)
Public eventObjectFullRecordRetrieved
Event to fire, when object created or selected by this manager retrieved it full record. Only happens on objects that are partially constructed and performs lazy loading.
(Inherited from IManager.)
Public eventObjectRestored
Event to fire, when object is removed by manager
(Inherited from IManager.)
Public eventObjectsDeleted
Event to fire, when objects are deleted
(Inherited from IManager.)
Public eventObjectsPurged
Event to fire, when deleted objects are purged
(Inherited from IManager.)
Public eventObjectUpdated
Event to fire, when object created, or selected by this manager is updated.
(Inherited from IManager.)
Public eventRelationAdded
Event to fire, when a relations object constructed by the manager inserted a new target
(Inherited from IManager.)
Public eventRelationMoved
Event to fire, when a positioned relations object constructed by the manager, has target position moved. This event only happens, when 2 existing targets swap positions.
(Inherited from IManager.)
Public eventRelationRemoved
Event to fire, when a relations object constructed by the manager removed a target
(Inherited from IManager.)

See Also