终极群晖DS Synology Diskstation SDK在PHP中的实现目前仅支持身份验证。特征登录登出验证获取系统用户ID获取系统用户组名称和ID要求PHP 5.3用法$core = new ultimosdksynologydsCore(); // get details of the user currently logged in to DSM $username = $core->authenticate(); $userId = $core->getUserId($username); $groups = $core->getUserGroupIds($username); // log in as admin if ($core->login("AdMiN", "secret")) { echo "Now logged