Table of Contents

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

string

Address2

Gets or sets the address (line 2).

public string Address2 { get; set; }

Property Value

string

AllowBackend

public bool AllowBackend { get; set; }

Property Value

bool

Cellular

Gets or sets the mobile phone number.

public string Cellular { get; set; }

Property Value

string

City

Gets or sets the city name.

public string City { get; set; }

Property Value

string

CompanyName

Gets or sets the company name.

public string CompanyName { get; set; }

Property Value

string

Country

Gets or sets the country.

public string Country { get; set; }

Property Value

string

CustomFieldValues

Gets or sets custom field values

public CustomFieldValueCollection CustomFieldValues { get; set; }

Property Value

CustomFieldValueCollection

CustomerNumber

Gets or sets the customer number.

public string CustomerNumber { get; set; }

Property Value

string

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

int

IsGeolocationCustom

Gets or sets GeoLocationIsCustom setting value

public bool IsGeolocationCustom { get; set; }

Property Value

bool

Double value

IsNew

public bool IsNew { get; }

Property Value

bool

ItemId

Gets or sets the identifier of the associated content item.

public string? ItemId { get; set; }

Property Value

string

ItemType

Gets or sets the type of the associated content item.

public string? ItemType { get; set; }

Property Value

string

JobTitle

Gets or sets the job title.

public string JobTitle { get; set; }

Property Value

string

Name

Gets or sets the name.

public string Name { get; set; }

Property Value

string

ParentGroupID

Gets or sets the identifier of the parent group.

public int ParentGroupID { get; set; }

Property Value

int

SmartSearchID

Gets or sets the identifier of a related user smart search

public string? SmartSearchID { get; set; }

Property Value

string

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

DateTime?

State

Gets or sets the state (region).

public string State { get; set; }

Property Value

string

Telefax

Gets or sets the fax number.

public string Telefax { get; set; }

Property Value

string

Telephone

Gets or sets the primary phone number.

public string Telephone { get; set; }

Property Value

string

TelephoneHome

Gets or sets the home phone number.

public string TelephoneHome { get; set; }

Property Value

string

TreeSection

Gets or sets the tree section.

public string TreeSection { get; set; }

Property Value

string

UserAndGroupTypeSystemName

Gets or sets the system name of the associated UserAndGroupType.

public string? UserAndGroupTypeSystemName { get; set; }

Property Value

string

UserDefaultItemType

Gets or sets the type of the associated item for new users in this group.

public string UserDefaultItemType { get; set; }

Property Value

string

ValidFrom

Gets or sets the valid from date.

public DateTime ValidFrom { get; set; }

Property Value

DateTime

ValidTo

Gets or sets the valid to date.

public DateTime ValidTo { get; set; }

Property Value

DateTime

ZipCode

Gets or sets the zip code (postal code).

public string ZipCode { get; set; }

Property Value

string

Methods

GetAllowBackendWithInheritance()

Gets AllowBackendWithInheritance setting value

public bool GetAllowBackendWithInheritance()

Returns

bool

True or false

GetAncestorGroups()

Gets the ancestor groups.

public IEnumerable<UserGroup> GetAncestorGroups()

Returns

IEnumerable<UserGroup>

GetDescendentGroups()

Gets the descendent groups.

public IEnumerable<UserGroup> GetDescendentGroups()

Returns

IEnumerable<UserGroup>

GetParentGroup()

Gets the parent group.

public UserGroup? GetParentGroup()

Returns

UserGroup

GetSubgroups()

Gets the subgroups.

public IEnumerable<UserGroup> GetSubgroups()

Returns

IEnumerable<UserGroup>

GetUserAndGroupType()

Gets the UserAndGroupType.

public UserAndGroupType? GetUserAndGroupType()

Returns

UserAndGroupType

GetUsers()

Gets the users.

public IEnumerable<User> GetUsers()

Returns

IEnumerable<User>
To top