Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9045839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T11:27:43+00:00 2026-06-16T11:27:43+00:00

I have an item in Sitecore that contains a content section which is a

  • 0

I have an item in Sitecore that contains a content section which is a Checklist. This checklist contains the names of multiple Active Directory groups that I have entered into Sitecore.

When the item loads, I am trying to loop through all of the names that are in the Checklist so that I can see if the user is a member of one of these groups, if checked.

When testing my code, I cannot obtain the ID’s “display” value (not sure if this is the correct termonology), such as “IT_Support_Group”. Instead, I can only get the Item Id.

Example: {80B1AEEA-D36C-416C-B5BF-AF5F428E4D31}

I’ve been playing around with various versions of the following code, but with no luck:

    Dim ADCheckList As Sitecore.Data.Fields.MultilistField = Sitecore.Context.Item.Fields("ADGroupAccess")

    If ADCheckList IsNot Nothing Then
        For Each ADListName As String In ADCheckList.Items
           'If IsInGroup(ADListName) and IsADListItemChecked(ADListName) Then
           '   Response.Write("User is in the " & ADListName & " selected group.<br/>"
           'End If
        Next
    End If
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T11:27:44+00:00Added an answer on June 16, 2026 at 11:27 am

    You are very close .. you need to call the GetItems() method (instead of the Items property) which will resolve the item ID’s into an array of Sitecore Item objects.

    You can then call properties such as item.Name or retrieve a specific field using .. item.Fields[FieldName].Value.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Situation: Imagine that I have an item(page) located at 'sitecore/Content/Home/mypage' in my content tree.
I have an Item class. There's an itemType field inside of that class which
I have a Sitecore content structure where any single item can have a number
I have the following question regarding Sitecore item creation: Given the following content tree:
I have a custom sitecore button which changes the template of the current item,
I have a repeater which dynamically generate tab links using Sitecore (sc:Link) like this:
I have created a site with multiple languages in sitecore... I the content editor
I have this item renderer MyRenderer.mxml <?xml version=1.0 encoding=utf-8?> <mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml implements=mx.core.IDataRenderer > <mx:Script>
We have an item cull that retrieves items and their appropriate data from one
I have an item that when hovering in IE7 is causing the item below

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.