blob: 25287ae4a4bbbfff200fc1543d1e9cc7a8c66de1 [file] [log] [blame]
<?php
namespace LdapRecord\Models\ActiveDirectory;
class ForeignSecurityPrincipal extends Entry
{
/**
* The object classes of the LDAP model.
*
* @var array
*/
public static $objectClasses = ['foreignsecurityprincipal'];
/**
* The groups relationship.
*
* Retrieves groups that the current security principal is apart of.
*
* @return \LdapRecord\Models\Relations\HasMany
*/
public function groups()
{
return $this->hasMany(Group::class, 'member');
}
}