Home

Getting AD groupname of current user in sharepoint online

%3CLINGO-SUB%20id%3D%22lingo-sub-1397158%22%20slang%3D%22en-US%22%3EGetting%20AD%20groupname%20of%20current%20user%20in%20sharepoint%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1397158%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20Active%20directory%20groups%20for%20users.%3C%2FP%3E%3CP%3EFinance_Grp%3C%2FP%3E%3CP%3EIT_Grp%3C%2FP%3E%3CP%3EInfra_Grp%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20know%20current%20user%20belong%20to%20which%20Active%20directory%20group%2C%20can%20i%20get%20this%20information.%3C%2FP%3E%3CP%3Ecan%20i%20user%20current%20user%20filter%20webpart%20in%20office%20online.%3C%2FP%3E%3CP%3EI%20want%20to%20use%20this%20information%20filter%20List%20library%2C%20i.e.%20each%20item%20of%20the%20list%20library%20have%20column%20name%20AD_group%20which%20have%20value%20of%20AD%20group%20for%20that%20list%20item.%3C%2FP%3E%3CP%3Ecurrent%20User%20belong%20to%20AD%20group%20only%20see%20list%20items%20have%20same%20AD_group%20value%20in%20column.%3C%2FP%3E%3CP%3Ehow%20i%20can%20achieve%20this%20filtering%20of%20List%20library%20on%20the%20basis%20of%20user%20AD%20group.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1397158%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPermissions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Contributor

Hello,

 

I have Active directory groups for users.

Finance_Grp

IT_Grp

Infra_Grp

 

I want to know current user belong to which Active directory group, can i get this information.

can i user current user filter webpart in office online.

I want to use this information filter List library, i.e. each item of the list library have column name AD_group which have value of AD group for that list item.

current User belong to AD group only see list items have same AD_group value in column.

how i can achieve this filtering of List library on the basis of user AD group.