public class ADGroupType extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DISTRIBUTION |
static String |
DOMAIN_LOCAL |
static String |
GLOBAL |
static String |
GROUP_SCOPE_NAME |
static String |
GROUP_TYPE_NAME |
static String |
GROUPTYPE
The groupType attribute
|
static int |
SCOPE_DOMAIN_LOCAL
Specifies a group with domain local scope.
|
static int |
SCOPE_GLOBAL
Specifies a group with global scope.
|
static int |
SCOPE_UNIVERSAL
Specifies a group with universal scope.
|
static String |
SECURITY |
static int |
TYPE_SECURITY
Specifies a security group.
|
static String |
UNIVERSAL |
Constructor and Description |
---|
ADGroupType() |
ADGroupType(int gt) |
Modifier and Type | Method and Description |
---|---|
static ADGroupType |
createADGroupType(LdapConnection conn,
String id) |
Attribute |
getLdapAttribute() |
static String |
getScope(String scope) |
static String |
getType(String type) |
static boolean |
isScopeDomainLocal(String scope) |
static boolean |
isScopeGlobal(String scope) |
static boolean |
isScopeUniversal(String scope) |
static boolean |
isTypeSecurity(String type) |
void |
setScope(Attribute scope) |
void |
setScope(String scope) |
void |
setType(Attribute type) |
void |
setType(String type) |
public static final int SCOPE_GLOBAL
public static final int SCOPE_DOMAIN_LOCAL
public static final int SCOPE_UNIVERSAL
public static final int TYPE_SECURITY
public static final String GROUP_SCOPE_NAME
public static final String GROUP_TYPE_NAME
public static final String GROUPTYPE
public static final String GLOBAL
public static final String DOMAIN_LOCAL
public static final String UNIVERSAL
public static final String SECURITY
public static final String DISTRIBUTION
public void setScope(Attribute scope)
public void setScope(String scope)
public void setType(Attribute type)
public void setType(String type)
public Attribute getLdapAttribute()
public static boolean isScopeGlobal(String scope)
public static boolean isScopeDomainLocal(String scope)
public static boolean isScopeUniversal(String scope)
public static boolean isTypeSecurity(String type)
public static ADGroupType createADGroupType(LdapConnection conn, String id) throws NamingException
NamingException
Copyright © 2018–2025. All rights reserved.