SobekCM_Database.Update_SobekCM_User Method
Sets some of the permissions values for a single user
Namespace: SobekCM.Library.DatabaseAssembly: SobekCM_Library (in SobekCM_Library.dll) Version: 4.10.0.0 (4.10.0.0)
Syntax
C# |
---|
public static bool Update_SobekCM_User(
int UserID,
bool CanSubmit,
bool IsInternal,
bool CanEditAll,
bool CanDeleteAll,
bool IsSystemAdmin,
bool IsHostAdmin,
bool IsPortalAdmin,
bool IncludeTrackingStandardForms,
string EditTemplate,
string EditTemplateMarc,
bool ClearProjectsTemplates,
bool ClearAggregationLinks,
bool ClearUserGroups,
Custom_Tracer Tracer
) |
Parameters
- UserID
- Type: System..::..Int32
Primary key for this user from the database
- CanSubmit
- Type: System..::..Boolean
Flag indicates if this user can submit items
- IsInternal
- Type: System..::..Boolean
Flag indicates if this user is considered an 'internal user'
- CanEditAll
- Type: System..::..Boolean
Flag indicates if this user is authorized to edit all items in the library
- CanDeleteAll
- Type: System..::..Boolean
Flag indicates if this user can delete anything in the repository
- IsSystemAdmin
- Type: System..::..Boolean
Flag indicates if this user is a system Administrator
- IsHostAdmin
- Type: System..::..Boolean
Flag indicates if this used is the host administrator (if this is a hosted instance)
- IsPortalAdmin
- Type: System..::..Boolean
Flag indicates if this user is a portal Administrator
- IncludeTrackingStandardForms
- Type: System..::..Boolean
Flag indicates if this user should have tracking portions appear in their standard forms
- EditTemplate
- Type: System..::..String
CompleteTemplate name for editing non-MARC records
- EditTemplateMarc
- Type: System..::..String
CompleteTemplate name for editing MARC-derived records
- ClearProjectsTemplates
- Type: System..::..Boolean
Flag indicates whether to clear projects and templates for this user
- ClearAggregationLinks
- Type: System..::..Boolean
Flag indicates whether to clear item aggregationPermissions linked to this user
- ClearUserGroups
- Type: System..::..Boolean
Flag indicates whether to clear user group membership for this user
- Tracer
- Type: SobekCM.Tools..::..Custom_Tracer
Trace object keeps a list of each method executed and important milestones in rendering
Return Value
Type:
Boolean TRUE if successful, otherwise FALSE
Remarks
See Also