Groups
Summary
The Groups
loop lets you display data about extranet groups.
Examples
Basic usage
Notice the use of @item.GetValue to get data from the loop variable.
If you just write @GetValue, the data will be taken from outside the loop.
Similarly, you have to use @item.GetLoop to use loops inside a loop.
Check if the loop exists
Example of usage
The following general example illustrates how to use a loop construct.
Check if the loop exists
Available tags
UserManagement:Group.Address
Returns the address of the user group.
@GetString("UserManagement:Group.Address")
UserManagement:Group.Address2
Returns the address 2 of the user group.
@GetString("UserManagement:Group.Address2")
UserManagement:Group.AllowBackend
Returns the value "True
" if the group is allowed backend login.
@GetBoolean("UserManagement:Group.AllowBackend")
UserManagement:Group.Cellular
Returns the mobile phone of the user group.
@GetString("UserManagement:Group.Cellular")
UserManagement:Group.City
Returns the city of the user group.
@GetString("UserManagement:Group.City")
UserManagement:Group.CompanyName
NoReturns the company name of the user group.
@GetString("UserManagement:Group.CompanyName")
UserManagement:Group.ConfigurationID
Returns the group configuration ID.
@GetString("UserManagement:Group.ConfigurationID")
UserManagement:Group.Country
Returns the country of the user group.
@GetString("UserManagement:Group.Country")
UserManagement:Group.CustomerNumber
Returns the customer number of the user group.
@GetString("UserManagement:Group.CustomerNumber")
UserManagement:Group.DefaultUrl
Returns the default URL of the group similar to this:
Default.aspx?ID=14866&ObjectID=271&Action=Detail
@GetString("UserManagement:Group.DefaultUrl")
UserManagement:Group.Item.[FieldSystemName]
Returns the content of the group item field.
@GetString("UserManagement:Group.Item.[FieldSystemName]")
UserManagement:Group.Item.[FieldSystemName].IsRequired
Returns True
if the group item field is marked as required.
@GetBoolean("UserManagement:Group.Item.[FieldSystemName].IsRequired")
UserManagement:Group.Item.[FieldSystemName].Name
Returns the name of the item field.
@GetString("UserManagement:Group.Item.[FieldSystemName].Name")
UserManagement:Group.Item.[FieldSystemName].SystemName
Returns the system name of the item field.
@GetString("UserManagement:Group.Item.[FieldSystemName].SystemName")
UserManagement:Group.Item.[FieldSystemName].Type
Returns the type of the item field.
@GetString("UserManagement:Group.Item.[FieldSystemName].Type")
UserManagement:Group.Item.[FieldSystemName].Value
Returns the content of the group item field.
@GetString("UserManagement:Group.Item.[FieldSystemName].Value")
UserManagement:Group.Item.Field.First
Returns True
if the group item field is the first in the list.
@GetBoolean("UserManagement:Group.Item.Field.First")
UserManagement:Group.Item.Field.Last
Returns True
if the user item field is the last in the list.
@GetBoolean("UserManagement:Group.Item.Field.Last")
UserManagement:Group.Item.SystemName
Returns the system name of item type.
@GetString("UserManagement:Group.Item.SystemName")
UserManagement:Group.JobTitle
Returns the Job title of the user group.
@GetString("UserManagement:Group.JobTitle")
UserManagement:Group.Name
Returns the name of the user group.
@GetString("UserManagement:Group.Name")
UserManagement:Group.ParentID
Returns parent ID of the group.
@GetString("UserManagement:Group.ParentID")
UserManagement:Group.State
Returns the state of the user group.
@GetString("UserManagement:Group.State")
UserManagement:Group.Telefax
Returns the fax number of the user group.
@GetString("UserManagement:Group.Telefax")
UserManagement:Group.Telephone
Returns the phone of the user group.
@GetString("UserManagement:Group.Telephone")
UserManagement:Group.TelephoneHome
Returns the private phone number of the user group.
@GetString("UserManagement:Group.TelephoneHome")
UserManagement:Group.ValidFrom
Returns the start date of the validity of a group.
@GetObject("UserManagement:Group.ValidFrom")
UserManagement:Group.ValidTo
Returns the end date of the validity of a group.
@GetDate("UserManagement:Group.ValidTo")
UserManagement:Group.ZipCode
Returns the zip code of the user group.
@GetString("UserManagement:Group.ZipCode")
Available loops
UserManagement:Group.Item.[FieldSystemName].Options
The UserManagement:Group.Item.[FieldSystemName].Options
loop lets you display information about options of the item field with [FieldSystemName] system name.
@foreach (LoopItem item in GetLoop("UserManagement:Group.Item.[FieldSystemName].Options")){ <p>@item.GetValue("TagName")</p> }
UserManagement:Group.Item.Fields
The UserManagement:Group.Item.Fields
loop lets you display available data of specific item field.
@foreach (LoopItem item in GetLoop("UserManagement:Group.Item.Fields")){ <p>@item.GetValue("TagName")</p> }
UserManagement:Group.Item.Groups
The UserManagement:Group.Item.Groups
loop lets you display information about about groups of fields in item defined for the user group.
@foreach (LoopItem item in GetLoop("UserManagement:Group.Item.Groups")){ <p>@item.GetValue("TagName")</p> }