gpt4 book ai didi

com.xpn.xwiki.user.api.XWikiGroupService.getAllGroupsNamesForMember()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-19 16:46:40 27 4
gpt4 key购买 nike

本文整理了Java中com.xpn.xwiki.user.api.XWikiGroupService.getAllGroupsNamesForMember()方法的一些代码示例,展示了XWikiGroupService.getAllGroupsNamesForMember()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XWikiGroupService.getAllGroupsNamesForMember()方法的具体详情如下:
包路径:com.xpn.xwiki.user.api.XWikiGroupService
类名称:XWikiGroupService
方法名:getAllGroupsNamesForMember

XWikiGroupService.getAllGroupsNamesForMember介绍

[英]Get all groups containing provided member in the provided member wiki.
[中]在提供的成员wiki中获取包含提供的成员的所有组。

代码示例

代码示例来源:origin: com.xpn.xwiki.platform/xwiki-core

/**
 * Get all groups containing provided user.
 * 
 * @param member the name of the member (user or group).
 * @param nb the maximum number of result to return.
 * @param start the index of the first found member to return.
 * @param context the XWiki context.
 * @return the {@link Collection} of {@link String} containing group name.
 * @throws XWikiException error when browsing groups.
 */
public Collection<String> getAllGroupsNamesForMember(String member, int nb, int start, XWikiContext context)
  throws XWikiException
{
  return context.getWiki().getGroupService(context).getAllGroupsNamesForMember(member, nb, start, context);
}

代码示例来源:origin: com.xpn.xwiki.platform/xwiki-core

context.getWiki().getGroupService(context).getAllGroupsNamesForMember(xwikiUserName, 0, 0, context);

代码示例来源:origin: org.xwiki.platform/xwiki-platform-ldap-authenticator

context.getWiki().getGroupService(context).getAllGroupsNamesForMember(xwikiUserName, 0, 0, context);

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com