PHP 클래스 Adldap\Models\Group

상속: extends Entry, use trait Adldap\Models\Traits\HasDescriptionTrait, use trait Adldap\Models\Traits\HasMemberOfTrait
파일 보기 프로젝트 열기: adldap2/adldap2 1 사용 예제들

공개 메소드들

메소드 설명
addMember ( string | Entry $entry ) : boolean Adds an entry to the current group.
getGroupType ( ) : string Returns the group type integer.
getMemberNames ( ) : array Returns the group's member names only.
getMembers ( ) : Collection Returns all users apart of the current group.
removeMember ( string | Entry $entry ) : boolean Removes an entry from the current group.
removeMembers ( ) : boolean Removes all members from the current group.
setMembers ( array $entries ) Sets the groups members using an array of user DNs.

보호된 메소드들

메소드 설명
getMembersFromAttribute ( $attribute ) : array Retrieves group members by the specified model attribute using their distinguished name.
getPaginatedMembers ( ) : array Retrieves members that are contained in a member range.

메소드 상세

addMember() 공개 메소드

Adds an entry to the current group.
public addMember ( string | Entry $entry ) : boolean
$entry string | Entry
리턴 boolean

getGroupType() 공개 메소드

https://msdn.microsoft.com/en-us/library/ms675935(v=vs.85).aspx
public getGroupType ( ) : string
리턴 string

getMemberNames() 공개 메소드

Returns the group's member names only.
public getMemberNames ( ) : array
리턴 array

getMembers() 공개 메소드

https://msdn.microsoft.com/en-us/library/ms677097(v=vs.85).aspx
public getMembers ( ) : Collection
리턴 Illuminate\Support\Collection

getMembersFromAttribute() 보호된 메소드

Retrieves group members by the specified model attribute using their distinguished name.
protected getMembersFromAttribute ( $attribute ) : array
$attribute
리턴 array

getPaginatedMembers() 보호된 메소드

Retrieves members that are contained in a member range.
protected getPaginatedMembers ( ) : array
리턴 array

removeMember() 공개 메소드

Removes an entry from the current group.
public removeMember ( string | Entry $entry ) : boolean
$entry string | Entry
리턴 boolean

removeMembers() 공개 메소드

Removes all members from the current group.
public removeMembers ( ) : boolean
리턴 boolean

setMembers() 공개 메소드

Sets the groups members using an array of user DNs.
public setMembers ( array $entries )
$entries array