Class UserGroup
- Namespace
- Dynamicweb.Security.UserManagement
- Assembly
- Dynamicweb.Core.dll
Represents a user group.
[Serializable]
[PermissionEntity("UserGroup")]
public class UserGroup : IPermissionEntity, IPermissionEntityLookup
- Inheritance
-
UserGroup
- Implements
- Inherited Members
- Extension Methods
Constructors
UserGroup()
public UserGroup()
Properties
Address
Gets or sets the address (line 1).
public string Address { get; set; }
Property Value
Address2
Gets or sets the address (line 2).
public string Address2 { get; set; }
Property Value
AllowBackend
public bool AllowBackend { get; set; }
Property Value
Cellular
Gets or sets the mobile phone number.
public string Cellular { get; set; }
Property Value
City
Gets or sets the city name.
public string City { get; set; }
Property Value
CompanyName
Gets or sets the company name.
public string CompanyName { get; set; }
Property Value
Country
Gets or sets the country.
public string Country { get; set; }
Property Value
CustomFieldValues
Gets or sets custom field values
public CustomFieldValueCollection CustomFieldValues { get; set; }
Property Value
CustomerNumber
Gets or sets the customer number.
public string CustomerNumber { get; set; }
Property Value
DefaultPermission
The default permission this group grants to all it's users.
public PermissionLevel? DefaultPermission { get; set; }
Property Value
- PermissionLevel?
defaultPermission
EmailAllowed
Gets or sets EmailAllowed
public bool EmailAllowed { get; set; }
Property Value
- bool
String value
FrontendStartPage
Gets or sets frontend start page
public string FrontendStartPage { get; set; }
Property Value
- string
String value
GeolocationHashCode
Gets or sets GeolocationHashCode
public string? GeolocationHashCode { get; set; }
Property Value
- string
String value
GeolocationIcon
Gets or sets GeoLocationImage
public string? GeolocationIcon { get; set; }
Property Value
- string
String value
GeolocationLatitude
Gets geo location latitude
public double GeolocationLatitude { get; set; }
Property Value
- double
Double value
GeolocationLongitude
Gets geo location longitude
public double GeolocationLongitude { get; set; }
Property Value
- double
Double value
ID
Gets the identifier
public int ID { get; }
Property Value
IsGeolocationCustom
Gets or sets GeoLocationIsCustom setting value
public bool IsGeolocationCustom { get; set; }
Property Value
- bool
Double value
IsNew
public bool IsNew { get; }
Property Value
ItemId
Gets or sets the identifier of the associated content item.
public string? ItemId { get; set; }
Property Value
ItemType
Gets or sets the type of the associated content item.
public string? ItemType { get; set; }
Property Value
JobTitle
Gets or sets the job title.
public string JobTitle { get; set; }
Property Value
Name
Gets or sets the name.
public string Name { get; set; }
Property Value
ParentGroupID
Gets or sets the identifier of the parent group.
public int ParentGroupID { get; set; }
Property Value
SmartSearchID
Gets or sets the identifier of a related user smart search
public string? SmartSearchID { get; set; }
Property Value
SmartSearchLastCalculatedTime
Gets or sets the last time the user smart search was calculated and user relations was updated.
public DateTime? SmartSearchLastCalculatedTime { get; set; }
Property Value
State
Gets or sets the state (region).
public string State { get; set; }
Property Value
Telefax
Gets or sets the fax number.
public string Telefax { get; set; }
Property Value
Telephone
Gets or sets the primary phone number.
public string Telephone { get; set; }
Property Value
TelephoneHome
Gets or sets the home phone number.
public string TelephoneHome { get; set; }
Property Value
TreeSection
Gets or sets the tree section.
public string TreeSection { get; set; }
Property Value
UserAndGroupTypeSystemName
Gets or sets the system name of the associated UserAndGroupType.
public string? UserAndGroupTypeSystemName { get; set; }
Property Value
UserDefaultItemType
Gets or sets the type of the associated item for new users in this group.
public string UserDefaultItemType { get; set; }
Property Value
ValidFrom
Gets or sets the valid from date.
public DateTime ValidFrom { get; set; }
Property Value
ValidTo
Gets or sets the valid to date.
public DateTime ValidTo { get; set; }
Property Value
ZipCode
Gets or sets the zip code (postal code).
public string ZipCode { get; set; }
Property Value
Methods
GetAllowBackendWithInheritance()
Gets AllowBackendWithInheritance setting value
public bool GetAllowBackendWithInheritance()
Returns
- bool
True or false
GetAncestorGroups()
Gets the ancestor groups.
public IEnumerable<UserGroup> GetAncestorGroups()
Returns
GetDescendentGroups()
Gets the descendent groups.
public IEnumerable<UserGroup> GetDescendentGroups()
Returns
GetParentGroup()
Gets the parent group.
public UserGroup? GetParentGroup()
Returns
GetSubgroups()
Gets the subgroups.
public IEnumerable<UserGroup> GetSubgroups()
Returns
GetUserAndGroupType()
Gets the UserAndGroupType.
public UserAndGroupType? GetUserAndGroupType()
Returns
GetUsers()
Gets the users.
public IEnumerable<User> GetUsers()