def owners_with_user_principal_name(self,user_principal_name: str) -> OwnersWithUserPrincipalNameRequestBuilder:
        """
        Provides operations to manage the owners property of the microsoft.graph.community entity.
        param user_principal_name: Alternate key of user
        Returns: OwnersWithUserPrincipalNameRequestBuilder
        """
        if user_principal_name is None:
            raise TypeError("user_principal_name cannot be null.")
        from .owners_with_user_principal_name.owners_with_user_principal_name_request_builder import OwnersWithUserPrincipalNameRequestBuilder

        return OwnersWithUserPrincipalNameRequestBuilder(self.request_adapter, self.path_parameters, user_principal_name)

        Provides operations to manage the owners property of the microsoft.graph.community entity.
        param user_principal_name: Alternate key of user
        Returns: OwnersWithUserPrincipalNameRequestBuilder
        
msgraph/generated/employee_experience/communities/item/community_item_request_builder.py